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 boolean
isReadable(Class<?> type, String mimetype)
String
readFrom(InputStream is, String contentType)
String
readFrom(HttpURLConnection urlConnection)
-
-
-
Method Detail
-
isReadable
public boolean isReadable(Class<?> type, String mimetype)
- Specified by:
isReadable
in interfaceProprietaryReader<String>
-
readFrom
public String readFrom(HttpURLConnection urlConnection) throws IOException
- Throws:
IOException
-
readFrom
public String readFrom(InputStream is, String contentType) throws IOException
- Specified by:
readFrom
in interfaceProprietaryReader<String>
- Throws:
IOException
-
-