| Package | Description |
|---|---|
| org.aoju.bus.core.io.file | |
| org.aoju.bus.core.utils |
| Modifier and Type | Method and Description |
|---|---|
static LineSeparator |
LineSeparator.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineSeparator[] |
LineSeparator.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
<T> File |
FileWriter.writeLines(Collection<T> list,
LineSeparator lineSeparator,
boolean isAppend)
将列表写入文件
|
File |
FileWriter.writeMap(Map<?,?> map,
LineSeparator lineSeparator,
String kvSeparator,
boolean isAppend)
将Map写入文件,每个键值对为一行,一行中键与值之间使用kvSeparator分隔
|
| Modifier and Type | Method and Description |
|---|---|
static File |
FileUtils.convertLineSeparator(File file,
Charset charset,
LineSeparator lineSeparator)
转换换行符
将给定文件的换行符转换为指定换行符
|
Copyright © 2019. All rights reserved.