Closeable, Flushable, AutoCloseablepublic class SMYLDFileOutputStream extends FileOutputStream
| Modifier and Type | Field | Description |
|---|---|---|
static int |
IND_DIR_BACKWARD |
|
static int |
IND_DIR_FORWARD |
|
static int |
IND_DIR_SAME |
| Constructor | Description |
|---|---|
SMYLDFileOutputStream(File file) |
|
SMYLDFileOutputStream(File file,
boolean append) |
|
SMYLDFileOutputStream(String fileName) |
|
SMYLDFileOutputStream(String fileName,
boolean append) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getIndentLevel() |
|
int |
getIndentWidth() |
|
boolean |
isWithIndent() |
|
void |
setIndentLevel(int indentLevel) |
|
void |
setIndentWidth(int indentWidth) |
|
void |
setWithIndent(boolean withIndent) |
|
void |
writeln(String text) |
|
void |
writeln(String text,
int indLevel) |
close, finalize, getChannel, getFD, write, write, writeclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflushpublic static final int IND_DIR_FORWARD
public static final int IND_DIR_BACKWARD
public static final int IND_DIR_SAME
public SMYLDFileOutputStream(String fileName) throws IOException
IOExceptionpublic SMYLDFileOutputStream(String fileName, boolean append) throws IOException
IOExceptionpublic SMYLDFileOutputStream(File file) throws IOException
IOExceptionpublic SMYLDFileOutputStream(File file, boolean append) throws IOException
IOExceptionpublic void writeln(String text) throws IOException
IOExceptionpublic void writeln(String text, int indLevel) throws IOException
IOExceptionpublic boolean isWithIndent()
public void setWithIndent(boolean withIndent)
public int getIndentWidth()
public void setIndentWidth(int indentWidth)
public int getIndentLevel()
public void setIndentLevel(int indentLevel)
Copyright © 2019 SMYLD. All rights reserved.