Class StringProprietaryReader
- java.lang.Object
-
- com.sun.enterprise.admin.remote.reader.StringProprietaryReader
-
- All Implemented Interfaces:
ProprietaryReader<String>
public class StringProprietaryReader extends Object implements ProprietaryReader<String>
- Author:
- martinmares
-
-
Constructor Summary
Constructors Constructor Description StringProprietaryReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisReadable(Class<?> type, String mimetype)StringreadFrom(InputStream is, String contentType)StringreadFrom(HttpURLConnection urlConnection)
-
-
-
Method Detail
-
isReadable
public boolean isReadable(Class<?> type, String mimetype)
- Specified by:
isReadablein interfaceProprietaryReader<String>
-
readFrom
public String readFrom(HttpURLConnection urlConnection) throws IOException
- Throws:
IOException
-
readFrom
public String readFrom(InputStream is, String contentType) throws IOException
- Specified by:
readFromin interfaceProprietaryReader<String>- Throws:
IOException
-
-