Interface Resource
-
- All Known Implementing Classes:
StringBufferResource
public interface Resource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delete()
java.lang.String
getAsString()
java.io.InputStream
getInputStream()
java.io.Reader
getReader()
long
getSize()
java.io.Writer
getWriter()
-
-
-
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
-
-