|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gjt.sp.jedit.io.EncodingServer
public class EncodingServer
A class for some static methods to deal with encodings.
Constructor Summary | |
---|---|
EncodingServer()
|
Method Summary | |
---|---|
static java.util.Set<java.lang.String> |
getAvailableNames()
Returns the set of all available encoding names. |
static Encoding |
getEncoding(java.lang.String name)
Returns an instance of Encoding for specified name. |
static java.util.Set<java.lang.String> |
getSelectedNames()
Returns the set of user selected encoding names. |
static java.io.Reader |
getTextReader(java.io.InputStream in,
java.lang.String encoding)
Returns a Reader object that reads the InputStream with the encoding. |
static java.io.Writer |
getTextWriter(java.io.OutputStream out,
java.lang.String encoding)
Returns a Writer object that writes to the OutputStream with the encoding. |
static boolean |
hasEncoding(java.lang.String name)
Returns if the specified name is supported as a name for an Encoding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncodingServer()
Method Detail |
---|
public static Encoding getEncoding(java.lang.String name)
public static java.util.Set<java.lang.String> getAvailableNames()
public static java.util.Set<java.lang.String> getSelectedNames()
public static java.io.Reader getTextReader(java.io.InputStream in, java.lang.String encoding) throws java.io.IOException
java.io.IOException
public static java.io.Writer getTextWriter(java.io.OutputStream out, java.lang.String encoding) throws java.io.IOException
java.io.IOException
public static boolean hasEncoding(java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |