|
Eclipse Platform Release 3.4 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Extension for IStreamContentAccessor. Extends the original
concept of a IStreamContentAccessor to answer the Charset (encoding) used for the stream.
| Method Summary | |
String |
getCharset()
Returns the name of a charset encoding to be used when decoding this stream accessor's contents into characters. |
| Methods inherited from interface org.eclipse.compare.IStreamContentAccessor |
getContents |
| Method Detail |
public String getCharset()
throws CoreException
null if a proper
encoding cannot be determined.
Note: this method does not check whether the result is a supported
charset name. Callers should be prepared to handle
UnsupportedEncodingException where this charset is used.
null
CoreException - if an error happens while determining
the charset. See any refinements for more information.IStreamContentAccessor.getContents()
|
Eclipse Platform Release 3.4 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.