|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.w3c.rdfpic.core.FilePHandler
FilePHandler is an implementation of SubPHandler for the file:// protocol.
Field Summary | |
(package private) boolean |
readable
|
(package private) byte[] |
readBuf
|
(package private) java.io.File |
theFile
|
(package private) boolean |
writable
|
Constructor Summary | |
FilePHandler(java.net.URL url)
|
Method Summary | |
boolean |
canRead()
|
boolean |
canWrite()
|
java.lang.String |
contentType()
Returns the MIME type of the loaded file. |
byte[] |
getReadBuf()
After initialization, all data must be buffered. |
void |
write(byte[] data)
Overwrites file with given data... |
Methods inherited from class java.lang.Object |
|
Field Detail |
byte[] readBuf
java.io.File theFile
boolean writable
boolean readable
Constructor Detail |
public FilePHandler(java.net.URL url) throws PHException
Method Detail |
public boolean canRead()
public boolean canWrite()
public byte[] getReadBuf()
public void write(byte[] data) throws PHException
public java.lang.String contentType()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |