Class StringProprietaryReader
java.lang.Object
com.sun.enterprise.admin.remote.reader.StringProprietaryReader
- All Implemented Interfaces:
ProprietaryReader<String>
- Author:
- martinmares
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisReadable(Class<?> type, String mimetype) readFrom(InputStream is, String contentType) Reads and closes the stream, or can transfer both respnsibilities to a returned object.readFrom(HttpURLConnection urlConnection)
-
Constructor Details
-
StringProprietaryReader
public StringProprietaryReader()
-
-
Method Details
-
isReadable
- Specified by:
isReadablein interfaceProprietaryReader<String>
-
readFrom
- Throws:
IOException
-
readFrom
Description copied from interface:ProprietaryReaderReads and closes the stream, or can transfer both respnsibilities to a returned object.- Specified by:
readFromin interfaceProprietaryReader<String>- Returns:
- T
- Throws:
IOException
-