Top Description Fields Constructors Methods
org.freedesktop.dbus.viewer

pack-priv final Class StringStreamFactory

extends PrintStreamFactory
Class Inheritance
Imports
org.freedesktop.dbus.utils.bin.PrintStreamFactory, java.io.ByteArrayOutputStream, .IOException, .PrintStream, java.util.HashMap, .Map

A factory using a byte array input stream
Author
pete
Since
10/02/2006

Field Summary

Modifier and TypeField and Description
pack-priv Map<String, ByteArrayOutputStream>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public PrintStream
public void
Inherited from org.freedesktop.dbus.utils.bin.PrintStreamFactory:
createPrintStream

Field Detail

streamMapback to summary
pack-priv Map<String, ByteArrayOutputStream> streamMap

Constructor Detail

StringStreamFactoryback to summary
pack-priv StringStreamFactory()

Method Detail

createPrintStreamback to summary
public PrintStream createPrintStream(final String _file) throws IOException

Implements abstract org.freedesktop.dbus.utils.bin.PrintStreamFactory.createPrintStream.

Parameters
_file:String

Doc from org.freedesktop.dbus.utils.bin.PrintStreamFactory.createPrintStream.

file to print to

Returns:PrintStream

Doc from org.freedesktop.dbus.utils.bin.PrintStreamFactory.createPrintStream.

PrintStream

Annotations
@Override
Exceptions
IOException:

Doc from org.freedesktop.dbus.utils.bin.PrintStreamFactory.createPrintStream.

may throw exception on failure

initback to summary
public void init(String _file, String _path)

Implements abstract org.freedesktop.dbus.utils.bin.PrintStreamFactory.init.

Annotations
@Override