Interface Resource
-
- All Known Implementing Classes:
StringBufferResource
public interface Resource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete()java.lang.StringgetAsString()java.io.InputStreamgetInputStream()java.io.ReadergetReader()longgetSize()java.io.WritergetWriter()
-
-
-
Method Detail
-
getInputStream
java.io.InputStream getInputStream() throws java.io.IOException- Throws:
java.io.IOException
-
getWriter
java.io.Writer getWriter() throws java.io.IOException- Throws:
java.io.IOException
-
getReader
java.io.Reader getReader() throws java.io.IOException- Throws:
java.io.IOException
-
getSize
long getSize() throws java.io.IOException- Throws:
java.io.IOException
-
delete
void delete() throws java.io.IOException- Throws:
java.io.IOException
-
getAsString
java.lang.String getAsString() throws java.io.IOException- Throws:
java.io.IOException
-
-