|
Sun Adapter for File API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FileClientApplication
This interface defines the operations made available in Java Collaboration for the File.
| Method Summary | |
|---|---|
byte[] |
getByteArray()
Returns the byteArray |
java.lang.String |
getEncoding()
Returns a valid encoding name. |
java.lang.String |
getText()
Returns the text |
void |
setByteArray(byte[] byteArray)
Sets the byte array to be written to a file |
void |
setEncoding(java.lang.String encoding)
Set valid encoding name. |
void |
setText(java.lang.String text)
Sets the text to be wriiten to a file |
void |
write()
|
void |
writeBytes()
|
| Method Detail |
|---|
void setText(java.lang.String text)
text - the String data to be wriiten to a filejava.lang.String getText()
void setByteArray(byte[] byteArray)
byteArray - byte[] data to be written to a filebyte[] getByteArray()
void setEncoding(java.lang.String encoding)
encoding - encoding name as Stringjava.lang.String getEncoding()
void write()
throws java.lang.Exception
java.lang.Exception
void writeBytes()
throws java.lang.Exception
java.lang.Exception
|
Sun Adapter for File API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||