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