|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ercp.xml.io.AbstractIOSpecificCall
public abstract class AbstractIOSpecificCall
Defines a set of IO apis which are implemented differently depending on the targetted JCL
Constructor Summary | |
---|---|
protected |
AbstractIOSpecificCall()
|
Method Summary | |
---|---|
abstract java.io.Reader |
getReaderFromSystemID(java.lang.String systemID,
java.lang.String encoding)
Returns a Reader based on the parameter |
abstract java.lang.String |
getSystemProperty(java.lang.String property)
Returns a system property wrapped or not by a PrivilegedAction |
abstract 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)
Reads a property file and returns the corresponding Hashtable. |
abstract java.util.Hashtable |
readPropertyFile(java.lang.Class aClass,
java.lang.String resource,
java.util.Hashtable table)
|
java.util.Hashtable |
readPropertyFile(java.io.InputStream is,
java.util.Hashtable table)
Reads a property file from an InputStream, Stores the couples key-values in the provide Hashtable and returns the resulting Hashtable. |
java.util.Hashtable |
readPropertyFile(java.lang.String filename)
Reads a property file and returns the corresponding Hashtable. |
abstract java.util.Hashtable |
readPropertyFile(java.lang.String filename,
java.util.Hashtable table)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractIOSpecificCall()
Method Detail |
---|
public abstract java.io.InputStream openFileInputStream(java.lang.String filename) throws java.io.IOException
fileName
.
java.io.IOException
public abstract java.lang.String getSystemProperty(java.lang.String property)
public abstract java.io.Reader getReaderFromSystemID(java.lang.String systemID, java.lang.String encoding) throws java.io.IOException
systemID
- - URL referencing the resourceencoding
- - Java encoding to use for the Reader
java.io.IOException
public java.util.Hashtable readPropertyFile(java.lang.String filename)
public abstract java.util.Hashtable readPropertyFile(java.lang.String filename, java.util.Hashtable table)
public java.util.Hashtable readPropertyFile(java.lang.Class aClass, java.lang.String resource)
public abstract java.util.Hashtable readPropertyFile(java.lang.Class aClass, java.lang.String resource, java.util.Hashtable table)
public java.util.Hashtable readPropertyFile(java.io.InputStream is, java.util.Hashtable table)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |