fi.hut.tml.xsmiles.mlfc.general
Class Helper
java.lang.Object
fi.hut.tml.xsmiles.mlfc.general.Helper
- public class Helper
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
documentBase
public java.lang.String documentBase
Helper
public Helper()
parseRelativeURL
public java.lang.String parseRelativeURL(java.lang.String src,
XMLDocument xmldoc)
setDocumentBase
public void setDocumentBase(XMLDocument xmldoc)
parseRelativeURL
public java.lang.String parseRelativeURL(java.lang.String src)
- parses an element's relative URL into a complete URL
- Returns:
- The parsed string (the same as URL.toString() would give
copyStream
public static long copyStream(java.io.InputStream in,
java.io.OutputStream out,
int buffersize)
throws java.io.IOException
- Throws:
java.io.IOException
copyStream
public static long copyStream(java.io.Reader in,
java.io.Writer out,
int buffersize)
throws java.io.IOException
- Throws:
java.io.IOException
X-Smiles 1.2