public interface TypedInput
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
in()
Read bytes as stream.
|
long |
length()
Length in bytes.
|
java.lang.String |
mimeType()
Returns the mime type.
|
java.lang.String mimeType()
long length()
-1 if length is unknown.java.io.InputStream in()
throws java.io.IOException
java.io.IOExceptionCopyright © 2014 Square, Inc.. All Rights Reserved.