java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QTextStream
- All Implemented Interfaces:
QIODeviceBase
,QtObjectInterface
public class QTextStream extends QtObject implements QIODeviceBase
Convenient interface for reading and writing text
Java wrapper for Qt class QTextStream
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QTextStream.FieldAlignment
Java wrapper for Qt enum QTextStream::FieldAlignmentstatic class
QTextStream.NumberFlag
Java wrapper for Qt enum QTextStream::NumberFlagstatic class
QTextStream.NumberFlags
QFlags type for enumQTextStream.NumberFlag
static class
QTextStream.RealNumberNotation
Java wrapper for Qt enum QTextStream::RealNumberNotationstatic class
QTextStream.Status
Java wrapper for Qt enum QTextStream::StatusNested classes/interfaces inherited from interface io.qt.core.QIODeviceBase
QIODeviceBase.OpenMode, QIODeviceBase.OpenModeFlag
-
Constructor Summary
Constructors Modifier Constructor Description QTextStream()
QTextStream(QByteArray array)
Overloaded constructor forQTextStream(io.qt.core.QByteArray, io.qt.core.QIODeviceBase.OpenMode)
withopenMode = new io.qt.core.QIODeviceBase.OpenMode(3)
.QTextStream(QByteArray array, QIODeviceBase.OpenMode openMode)
QTextStream(QByteArray array, QIODeviceBase.OpenModeFlag... openMode)
Overloaded constructor forQTextStream(io.qt.core.QByteArray, io.qt.core.QIODeviceBase.OpenMode)
.QTextStream(QIODevice device)
protected
QTextStream(QtObject.QPrivateConstructor p)
Constructor for internal use only.QTextStream(String string)
QTextStream(String string, QIODeviceBase.OpenMode openMode)
QTextStream(String string, QIODeviceBase.OpenModeFlag... openMode)
QTextStream(String string)
QTextStream(String string, QIODeviceBase.OpenMode openMode)
QTextStream(String string, QIODeviceBase.OpenModeFlag... openMode)
-
Method Summary
-
Constructor Details
-
QTextStream
public QTextStream() -
QTextStream
Overloaded constructor for
QTextStream(io.qt.core.QByteArray, io.qt.core.QIODeviceBase.OpenMode)
. -
QTextStream
Overloaded constructor for
QTextStream(io.qt.core.QByteArray, io.qt.core.QIODeviceBase.OpenMode)
withopenMode = new io.qt.core.QIODeviceBase.OpenMode(3)
. -
QTextStream
-
QTextStream
-
QTextStream
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
QTextStream
-
QTextStream
public QTextStream(String string) -
QTextStream
-
QTextStream
-
QTextStream
-
QTextStream
-
-
Method Details
-
atEnd
-
autoDetectUnicode
-
device
-
encoding
-
fieldAlignment
-
fieldWidth
-
flush
-
generateByteOrderMark
-
integerBase
-
locale
-
numberFlags
-
writeChar
-
writeByte
-
writeBytes
-
writeString
-
writeDouble
-
writeFloat
-
writeLong
-
writeInt
-
writeShort
-
readBytes
-
readChar
-
readString
-
readByte
-
readDouble
-
readFloat
-
readLong
-
readInt
-
readShort
-
padChar
-
pos
-
read
-
readAll
-
readLine
Overloaded function for
readLine(long)
withmaxlen = 0
. -
readLine
-
realNumberNotation
-
realNumberPrecision
-
reset
-
resetStatus
-
seek
-
setAutoDetectUnicode
-
setDevice
-
setEncoding
-
setFieldAlignment
-
setFieldWidth
-
setGenerateByteOrderMark
-
setIntegerBase
-
setLocale
-
setNumberFlags
Overloaded function for
setNumberFlags(io.qt.core.QTextStream.NumberFlags)
. -
setNumberFlags
-
setPadChar
-
setRealNumberNotation
-
setRealNumberPrecision
-
setStatus
-
skipWhiteSpace
-
status
-
string
-
setString
public <String extends Object & Appendable & CharSequence> void setString(String string, QIODeviceBase.OpenModeFlag... openMode) -
setString
-
setString
public <String extends Object & Appendable & CharSequence> void setString(String string, QIODeviceBase.OpenMode openMode) -
setString
-
setString
-
setString
-