|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.quercus.env.Value
com.caucho.quercus.env.ResourceValue
com.caucho.quercus.resources.StreamResource
com.caucho.quercus.lib.file.FileValue
com.caucho.quercus.lib.file.FileWriteValue
public class FileWriteValue
Represents a PHP open file
| Field Summary |
|---|
| Fields inherited from class com.caucho.quercus.env.Value |
|---|
L, NULL_ARGS, NULL_VALUE_ARRAY, SCALAR_V |
| Constructor Summary | |
|---|---|
FileWriteValue(Path path)
|
|
FileWriteValue(Path path,
boolean isAppend)
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the file. |
void |
flush()
Flushes the output. |
void |
print(char v)
Prints a string to a file. |
void |
print(java.lang.String v)
Prints a string to a file. |
java.lang.String |
toString()
Converts to a string. |
int |
write(byte[] buffer,
int offset,
int length)
Writes a buffer to a file. |
| Methods inherited from class com.caucho.quercus.lib.file.FileValue |
|---|
getPath, read, readLine, writeToStream |
| Methods inherited from class com.caucho.quercus.resources.StreamResource |
|---|
closeRead, closeWrite, getPosition, isEOF, read, readOptionalLinefeed |
| Methods inherited from class com.caucho.quercus.env.ResourceValue |
|---|
cleanup, printRImpl, toKey, varDumpImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileWriteValue(Path path)
throws java.io.IOException
java.io.IOException
public FileWriteValue(Path path,
boolean isAppend)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void print(char v)
throws java.io.IOException
print in class StreamResourcejava.io.IOException
public void print(java.lang.String v)
throws java.io.IOException
print in class FileValuejava.io.IOException
public int write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
write in class StreamResourcejava.io.IOExceptionpublic void flush()
flush in class StreamResourcepublic void close()
close in class FileValuepublic java.lang.String toString()
toString in class FileValueenv -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||