public interface TypedOutput
Modifier and Type | Method and Description |
---|---|
String |
fileName()
Original filename.
|
long |
length()
Length in bytes or -1 if unknown.
|
String |
mimeType()
Returns the mime type.
|
void |
writeTo(OutputStream out)
Writes these bytes to the given output stream.
|
String fileName()
String mimeType()
long length()
void writeTo(OutputStream out) throws IOException
IOException
Copyright © 2015 Square, Inc.. All Rights Reserved.