Package org.freedesktop.dbus.bin
Class PrintStreamFactory
- java.lang.Object
-
- org.freedesktop.dbus.bin.PrintStreamFactory
-
public abstract class PrintStreamFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description PrintStreamFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract PrintStreamcreatePrintStream(String file)PrintStreamcreatePrintStream(String path, String tname)abstract voidinit(String file, String path)
-
-
-
Method Detail
-
createPrintStream
public PrintStream createPrintStream(String path, String tname) throws IOException
- Parameters:
path- pathtname- target name- Returns:
- PrintStream
- Throws:
IOException- may throw exception on failure
-
createPrintStream
public abstract PrintStream createPrintStream(String file) throws IOException
- Parameters:
file- file to print to- Returns:
- PrintStream
- Throws:
IOException- may throw exception on failure
-
-