org.kde.qt
Class QBuffer

java.lang.Object
  extended by org.kde.qt.QIODevice
      extended by org.kde.qt.QBuffer
All Implemented Interfaces:
QIODeviceInterface, QtSupport

public class QBuffer
extends QIODevice


Field Summary
 
Fields inherited from class org.kde.qt.QIODevice
IO_AbortError, IO_Append, IO_Async, IO_Combined, IO_ConnectError, IO_Direct, IO_FatalError, IO_ModeMask, IO_Ok, IO_Open, IO_OpenError, IO_Raw, IO_ReadError, IO_ReadOnly, IO_ReadWrite, IO_ResourceError, IO_Sequential, IO_StateMask, IO_TimeOutError, IO_Translate, IO_Truncate, IO_TypeMask, IO_UnspecifiedError, IO_WriteError, IO_WriteOnly
 
Constructor Summary
  QBuffer()
           
  QBuffer(byte[] arg1)
           
protected QBuffer(java.lang.Class dummy)
           
 
Method Summary
 long at()
           
 boolean at(long arg1)
           
 byte[] buffer()
           
 void close()
           
 void dispose()
          Delete the wrapped C++ instance ahead of finalize()
protected  void finalize()
          Deletes the wrapped C++ instance
 void flush()
           
 int getch()
           
 boolean isDisposed()
          Has the wrapped C++ instance been deleted?
 boolean open(int arg1)
           
 int putch(int arg1)
           
 long readBlock(java.lang.StringBuffer p, long arg2)
           
 long readLine(java.lang.String p, long arg2)
           
 boolean setBuffer(byte[] arg1)
           
 long size()
           
 int ungetch(int arg1)
           
 long writeBlock(byte[] data)
           
 long writeBlock(java.lang.String p, long arg2)
           
 
Methods inherited from class org.kde.qt.QIODevice
atEnd, flags, isAsynchronous, isBuffered, isCombinedAccess, isDirectAccess, isInactive, isOpen, isRaw, isReadable, isReadWrite, isSequentialAccess, isSynchronous, isTranslated, isWritable, mode, readAll, reset, resetStatus, state, status
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QBuffer

protected QBuffer(java.lang.Class dummy)

QBuffer

public QBuffer()

QBuffer

public QBuffer(byte[] arg1)
Method Detail

buffer

public byte[] buffer()

setBuffer

public boolean setBuffer(byte[] arg1)

open

public boolean open(int arg1)
Specified by:
open in interface QIODeviceInterface
Overrides:
open in class QIODevice

close

public void close()
Specified by:
close in interface QIODeviceInterface
Overrides:
close in class QIODevice

flush

public void flush()
Specified by:
flush in interface QIODeviceInterface
Overrides:
flush in class QIODevice

size

public long size()
Specified by:
size in interface QIODeviceInterface
Overrides:
size in class QIODevice

at

public long at()
Specified by:
at in interface QIODeviceInterface
Overrides:
at in class QIODevice

at

public boolean at(long arg1)
Specified by:
at in interface QIODeviceInterface
Overrides:
at in class QIODevice

readBlock

public long readBlock(java.lang.StringBuffer p,
                      long arg2)
Specified by:
readBlock in interface QIODeviceInterface
Overrides:
readBlock in class QIODevice

writeBlock

public long writeBlock(java.lang.String p,
                       long arg2)
Specified by:
writeBlock in interface QIODeviceInterface
Overrides:
writeBlock in class QIODevice

writeBlock

public long writeBlock(byte[] data)
Specified by:
writeBlock in interface QIODeviceInterface
Overrides:
writeBlock in class QIODevice

readLine

public long readLine(java.lang.String p,
                     long arg2)
Specified by:
readLine in interface QIODeviceInterface
Overrides:
readLine in class QIODevice

getch

public int getch()
Specified by:
getch in interface QIODeviceInterface
Overrides:
getch in class QIODevice

putch

public int putch(int arg1)
Specified by:
putch in interface QIODeviceInterface
Overrides:
putch in class QIODevice

ungetch

public int ungetch(int arg1)
Specified by:
ungetch in interface QIODeviceInterface
Overrides:
ungetch in class QIODevice

finalize

protected void finalize()
                 throws java.lang.InternalError
Deletes the wrapped C++ instance

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.InternalError

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()


isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?