Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.caucho.vfs
Class LogStream

    java.lang.Object
      |
      +--com.caucho.vfs.StreamImpl
            |
            +--com.caucho.vfs.LogStream

All Implemented Interfaces:
  ChangeListener, java.util.EventListener

public class LogStream
extends StreamImpl
implements ChangeListener

Fields inherited from class com.caucho.vfs.StreamImpl
`path`

Method Summary
`boolean` | `canWrite()`
`void` | `close()`
`void` | `flush()`
`void` | `handleChange(java.lang.Object object)`
`static WriteStream` | `open(java.lang.String logId)`
`void` | `write(byte[] buf, int offset, int length)`

Methods inherited from class com.caucho.vfs.StreamImpl
`canRead, clearWrite, getAttribute, getAttributeNames, getAvailable, getFlushOnNewline, getNewline, getPath, read, removeAttribute, setAttribute, setPath, write`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### handleChange

    public void handleChange(java.lang.Object object)

  Specified by:
    `handleChange` in interface `ChangeListener`

### open

    public static WriteStream open(java.lang.String logId)

### canWrite

    public boolean canWrite()

  Overrides:
    `canWrite` in class `StreamImpl`

### write

    public void write(byte[] buf,
                      int offset,
                      int length)
               throws java.io.IOException

  Overrides:
    `write` in class `StreamImpl`

### flush

    public void flush()

  Overrides:
    `flush` in class `StreamImpl`

### close

    public void close()

  Overrides:
    `close` in class `StreamImpl`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD