|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface returns various information about the stream such as the MIME type and whether the stream is seekable.
Method Summary | |
java.lang.String |
getContentType()
Returns the MIME type for a particular stream. |
int |
getLastModified()
Returns the time the data in the URL was last modified, measured in seconds since 12:00 midnight, GMT, January 1, 1970. |
int |
getLength()
Returns the length of a stream in bytes. |
java.lang.String |
getURL()
Specifies the URL that was used to originally request the stream. |
boolean |
isSeekable()
Indicates if a stream is seekable; that is, if it is possible to move to a particular point in the stream. |
void |
requestRead(ByteRanges ranges)
Requests reading from the input stream. |
Method Detail |
public java.lang.String getContentType()
public boolean isSeekable()
public int getLength()
public int getLastModified()
public java.lang.String getURL()
public void requestRead(ByteRanges ranges)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |