|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DisposableURL
Representation of a URL object that should be disposed when no longer in use.
The writeRelease
writes the URL to a stream and disposes it in
one single step, so if writeRelease
is called, the object must
not be disposed additionally.
Method Summary | |
---|---|
java.lang.String |
toString()
Creates a URL representation of the URL. |
java.io.Writer |
writeCopy(java.io.Writer out)
Streams the state represented by this URL object to a writer. |
java.io.Writer |
writeDispose(java.io.Writer out)
Streams the state represented by this URL object to a writer. |
Methods inherited from interface com.ibm.portal.URL |
---|
write |
Methods inherited from interface com.ibm.portal.Disposable |
---|
dispose |
Method Detail |
---|
java.lang.String toString()
toString
in class java.lang.Object
java.io.Writer writeCopy(java.io.Writer out) throws java.io.IOException, OutputMediatorException, PostProcessorException, DocumentModelException
writeDispose(Writer)
method should be used
instead.
out
- Destination stream that receives the character representation
of the URL (must not be null)
java.io.IOException
- - error on the underlying streams
OutputMediatorException
- - error during the serialization operation
DocumentModelException
- - if an optional temporary copy of the state could not be
created
PostProcessorException
- - if an optional post processing step failedjava.io.Writer writeDispose(java.io.Writer out) throws java.io.IOException, OutputMediatorException, PostProcessorException
Disposable.dispose()
is no longer required.
out
- Destination stream that receives the character representation
of the URL (must not be null)
java.io.IOException
- Error on the underlying streams
OutputMediatorException
- - error during the serialization operation
PostProcessorException
- - if an optional post processing step failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |