|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ercp.xml.io.AbstractIOSpecificCall
org.eclipse.ercp.xml.io.IOSpecificCall
public class IOSpecificCall
Implementation of AbstractIOSpecificCall against Core and Higher
Method Summary | |
---|---|
static IOSpecificCall |
getDefault()
|
java.io.Reader |
getReaderFromSystemID(java.lang.String systemID,
java.lang.String encoding)
Returns a Reader based on the parameter |
java.lang.String |
getSystemProperty(java.lang.String property)
Returns a system property wrapped or not by a PrivilegedAction |
java.io.InputStream |
openFileInputStream(java.lang.String filename)
Constructs a new InputStream on the file named fileName . |
java.util.Hashtable |
readPropertyFile(java.lang.Class aClass,
java.lang.String resource,
java.util.Hashtable table)
Reads a property file and returns a corresponding Hashtable. |
java.util.Hashtable |
readPropertyFile(java.lang.String filename,
java.util.Hashtable table)
Reads a property file and returns a corresponding Hashtable. |
Methods inherited from class org.eclipse.ercp.xml.io.AbstractIOSpecificCall |
---|
readPropertyFile, readPropertyFile, readPropertyFile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IOSpecificCall getDefault()
public java.io.InputStream openFileInputStream(java.lang.String filename) throws java.io.IOException
fileName
.
openFileInputStream
in class AbstractIOSpecificCall
java.io.IOException
public java.util.Hashtable readPropertyFile(java.lang.Class aClass, java.lang.String resource, java.util.Hashtable table)
readPropertyFile
in class AbstractIOSpecificCall
public java.util.Hashtable readPropertyFile(java.lang.String filename, java.util.Hashtable table)
readPropertyFile
in class AbstractIOSpecificCall
public java.lang.String getSystemProperty(java.lang.String property)
AbstractIOSpecificCall
getSystemProperty
in class AbstractIOSpecificCall
public java.io.Reader getReaderFromSystemID(java.lang.String systemID, java.lang.String encoding) throws java.io.IOException
AbstractIOSpecificCall
getReaderFromSystemID
in class AbstractIOSpecificCall
systemID
- - URL referencing the resourceencoding
- - Java encoding to use for the Reader
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |