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