|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.rse.subsystems.files.core.subsystems.RemoteFileEncodingManager
public class RemoteFileEncodingManager
This singleton class manages encodings of remote files.
| Method Summary | |
|---|---|
String |
getEncoding(String hostname,
String remotePath)
Returns the encoding for a file with the given path on a system with the given hostname. |
static RemoteFileEncodingManager |
getInstance()
Returns the singleton instance. |
void |
load()
Loads the encoding data from disk. |
void |
save()
Saves the encoding data to disk. |
void |
setEncoding(String hostname,
String remotePath,
String encoding)
Sets the encoding for a file with the given path on a system with the given hostname. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final RemoteFileEncodingManager getInstance()
public String getEncoding(String hostname,
String remotePath)
hostname - the hostname of the system.remotePath - the remote path of the file on the system.
public void setEncoding(String hostname,
String remotePath,
String encoding)
hostname - the hostname of the system.remotePath - the remote path of the file on the system.encoding - the encoding to set.public void load()
public void save()
|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||