|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.imagero.uio.bio.content.Content
com.imagero.uio.bio.content.HTTPContent
Date: 05.01.2008
| Constructor Summary | |
HTTPContent(java.net.URL url)
|
|
| Method Summary | |
boolean |
canReload()
Determine if data may be reloaded or not. |
void |
close()
close stream |
long |
length()
Get stream length. |
int |
load(long offset,
int bpos,
byte[] buffer)
Load stream content to specified buffer |
void |
save(long offset,
int bpos,
byte[] buffer,
int length)
Save buffer content to stream. |
boolean |
writable()
|
| Methods inherited from class com.imagero.uio.bio.content.Content |
finalize, load |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HTTPContent(java.net.URL url)
| Method Detail |
public int load(long offset,
int bpos,
byte[] buffer)
throws java.io.IOException
Content
load in class Contentoffset - stream offsetbpos - buffer positionbuffer - byte array
java.io.IOExceptionpublic void close()
Content
close in class Content
public void save(long offset,
int bpos,
byte[] buffer,
int length)
throws java.io.IOException
Content
save in class Contentoffset - stream offsetbpos - buffer positionbuffer - byte arraylength - how much bytes should be saved
java.io.IOException
public long length()
throws java.io.IOException
Content
length in class Contentjava.io.IOExceptionpublic boolean canReload()
Content
canReload in class Contentpublic boolean writable()
writable in class Content
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||