|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.service.nds.NdsStream
Provides access to values of the NdsStream attribute. Streams are files of information used in attributes such as login scripts. The data stored in a stream file has no syntax enforcement of any kind. It is purely arbitrary data, defined by the application that created and uses it. You should be aware that NdsStream attributes use a non-buffered input stream, thus, you should do your own buffering in order to improve efficiency and reduce network traffic.
Any attribute defined with this syntax is single-valued. When you try to read an attribute of this type or search on it, the value behaves like an empty string. That is, when you return from read or search, it returns an empty octet string. When you try to add a value, the request is ignored.
Matching Rules: (none)
NdsSyntaxId
Constructor Summary | |
NdsStream(java.io.InputStream streamToWrite)
Constructs a Stream object (attribute value) based on the streamToWrite parameter. |
Method Summary | |
boolean |
approximate(java.lang.Object anObject)
Compares two Objects using the approximate matching rule. |
java.lang.Object |
clone()
Creates a new object of the same class as this object. |
int |
compareTo(java.lang.Object anObject)
Compares two objects for ordering, or compares two strings lexicographically. |
boolean |
equals(java.lang.Object anObject)
Compares two Objects for equality. |
java.io.InputStream |
getInputStream()
Returns the InputStream object stored in the NDS attribute. |
int |
getNdsSyntaxId()
Returns the int that represents the NDS syntax ID. |
boolean |
supportsMatchingRules(int matchingRules)
Checks to see if this object supports the specified matching rules. |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public NdsStream(java.io.InputStream streamToWrite)
When this stream value is passed to modifyAttributes() an exception can be thrown in the stream transfer process. When an exception is thrown in the middle of the stream transfer, the input stream will be closed without fully reading its contents, and the attribute value will be assigned to the AttributeModificationException's array of uncompleted attribute modification items.
streamToWrite
- The file of information that will be written
to an NDS InputStream object.Method Detail |
public int compareTo(java.lang.Object anObject) throws java.lang.Exception
public boolean equals(java.lang.Object anObject)
public boolean approximate(java.lang.Object anObject) throws java.lang.Exception
public int getNdsSyntaxId()
public boolean supportsMatchingRules(int matchingRules)
matchingRules
- The set of matching rules to check.public java.lang.Object clone()
public java.io.InputStream getInputStream() throws java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |