public final class StreamValue extends Value
This class is immutable.
HexValue,
StringValue,
LongValue,
Serialized Form| Constructor and Description |
|---|
StreamValue(Syntax syntax,
InputStreamFactory factory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getObjectValue()
Returns the value as an Object of instance InputStream.
|
InputStreamFactory |
getStreamFactory()
Returns the value as an InputStreamFactory.
|
java.io.InputStream |
getValue()
Returns the value as a InputStream.
|
compareTo, equals, getSyntax, isWithinBounds, toStringpublic StreamValue(Syntax syntax, InputStreamFactory factory)
This constructor should be called only from stream strategy classes and not directly in an application.
syntax - The associated syntax for this boolean value.factory - The InputStreamFactory.public java.io.InputStream getValue()
throws java.io.IOException,
SPIException
java.io.IOException - Refer to java.io.SPIException - Thrown when the service provider caused an error.public java.lang.Object getObjectValue()
getObjectValue in class Valuepublic InputStreamFactory getStreamFactory()
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.