|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEncodedStorage
A storage that knows how its contents are encoded.
The IEncodedStorage
interface extends IStorage
in order to provide access to the charset to be used when decoding its
contents.
Clients may implement this interface.
Method Summary | |
---|---|
java.lang.String |
getCharset()
Returns the name of a charset encoding to be used when decoding this storage's contents into characters. |
Methods inherited from interface org.eclipse.core.resources.IStorage |
---|
getContents, getFullPath, getName, isReadOnly |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Method Detail |
---|
java.lang.String getCharset() throws org.eclipse.core.runtime.CoreException
null
if a proper
encoding cannot be determined.
Note that 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
org.eclipse.core.runtime.CoreException
- if an error happens while determining
the charset. See any refinements for more information.IStorage.getContents()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |