com.novell.admin.ns
Class StreamValue
java.lang.Object
|
+--com.novell.admin.ns.ValueComponent
|
+--com.novell.admin.ns.Value
|
+--com.novell.admin.ns.StreamValue
- All Implemented Interfaces:
- java.io.Serializable
- public final class StreamValue
- extends Value
Storage class for all syntaxes that use stream types.
This class is immutable.
- See Also:
HexValue,
StringValue,
LongValue
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
StreamValue
public StreamValue(Syntax syntax,
InputStreamFactory factory)
- Constructor.
This constructor should be called only from stream strategy classes and
not directly in an application.
- Parameters:
syntax - The associated syntax for this boolean value.factory - The InputStreamFactory.
getValue
public java.io.InputStream getValue()
throws java.io.IOException,
SPIException
- Returns the value as a InputStream.
- Returns:
- The value as InputStream type.
- Throws:
- java.io.IOException - Refer to java.io.
- SPIException - Thrown when the service provider caused an error.
getStreamFactory
public InputStreamFactory getStreamFactory()
- Returns the value as a BufferedReader.
- Returns:
- The InputStreamFactory.
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated December 17 2003 1746.