java.lang.Object
org.media.mn8.util.StreamResolver
- public class StreamResolver
- extends java.lang.Object
Class meant to resolve divers types of input and
output streams. The treams can be speciffied as:
- "System.out", "System.err", "System.in" in which
case the respective streams will be returned.
- "file://url of file" in which case the a
srem will be created and asociated with that file.
- "Classname.methodname(parameters)" in which case a new
instance of the class will be created and the methodname with
the parameters will be used to extract the stream
- Version:
- $Revision: 1.1 $ $Date: 2001/05/24 11:13:12 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamResolver
public StreamResolver()
resolveOutputStream
public static java.io.PrintStream resolveOutputStream(java.lang.String specs)
resolveInputStream
public static java.io.InputStream resolveInputStream(java.lang.String specs)