| Package | Description |
|---|---|
| com.landawn.abacus | |
| com.landawn.abacus.http | |
| com.landawn.abacus.parser | |
| com.landawn.abacus.util |
| Modifier and Type | Method and Description |
|---|---|
void |
DataSet.println() |
void |
DataSet.println(Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
<W extends Writer> |
DataSet.println(W outputWriter) |
<W extends Writer> |
DataSet.println(W outputWriter,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toCSV(File output) |
void |
DataSet.toCSV(File output,
boolean writeTitle,
boolean quoteValue) |
void |
DataSet.toCSV(File output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toCSV(File output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex,
boolean writeTitle,
boolean quoteValue) |
void |
DataSet.toCSV(OutputStream output,
boolean writeTitle,
boolean quoteValue) |
void |
DataSet.toCSV(OutputStream output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toCSV(OutputStream output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex,
boolean writeTitle,
boolean quoteValue) |
void |
DataSet.toCSV(Writer output,
boolean writeTitle,
boolean quoteValue) |
void |
DataSet.toCSV(Writer output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toCSV(Writer output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex,
boolean writeTitle,
boolean quoteValue) |
void |
DataSet.toJSON(File output) |
void |
DataSet.toJSON(File output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toJSON(File output,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toJSON(OutputStream output) |
void |
DataSet.toJSON(OutputStream output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toJSON(OutputStream output,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toJSON(Writer output) |
void |
DataSet.toJSON(Writer output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toJSON(Writer output,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toXML(File output) |
void |
DataSet.toXML(File output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toXML(File output,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toXML(File output,
String rowElementName) |
void |
DataSet.toXML(File output,
String rowElementName,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toXML(File output,
String rowElementName,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toXML(OutputStream output) |
void |
DataSet.toXML(OutputStream output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toXML(OutputStream output,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toXML(OutputStream output,
String rowElementName) |
void |
DataSet.toXML(OutputStream output,
String rowElementName,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toXML(OutputStream output,
String rowElementName,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toXML(Writer output) |
void |
DataSet.toXML(Writer output,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toXML(Writer output,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toXML(Writer output,
String rowElementName) |
void |
DataSet.toXML(Writer output,
String rowElementName,
Collection<String> columnNames,
int fromRowIndex,
int toRowIndex) |
void |
DataSet.toXML(Writer output,
String rowElementName,
int fromRowIndex,
int toRowIndex) |
| Modifier and Type | Method and Description |
|---|---|
static HttpClient |
HttpClient.create(String url,
int maxConnection,
long connectionTimeoutInMillis,
long readTimeoutInMillis,
HttpSettings settings) |
String |
HttpClient.delete() |
String |
HttpRequest.delete() |
<T> T |
HttpClient.delete(Class<T> resultClass) |
<T> T |
HttpRequest.delete(Class<T> resultClass) |
<T> T |
HttpClient.delete(Class<T> resultClass,
HttpSettings settings) |
<T> T |
HttpClient.delete(Class<T> resultClass,
Object queryParameters) |
<T> T |
HttpRequest.delete(Class<T> resultClass,
Object query) |
<T> T |
HttpClient.delete(Class<T> resultClass,
Object queryParameters,
HttpSettings settings) |
String |
HttpClient.delete(HttpSettings settings) |
String |
HttpClient.delete(Object queryParameters) |
String |
HttpRequest.delete(Object query) |
String |
HttpClient.delete(Object queryParameters,
HttpSettings settings) |
<T> T |
HttpRequest.execute(Class<T> resultClass,
HttpMethod httpMethod) |
<T> T |
HttpClient.execute(Class<T> resultClass,
HttpMethod httpMethod,
Object request) |
<T> T |
HttpRequest.execute(Class<T> resultClass,
HttpMethod httpMethod,
Object body) |
<T> T |
HttpClient.execute(Class<T> resultClass,
HttpMethod httpMethod,
Object request,
HttpSettings settings) |
void |
HttpRequest.execute(File output,
HttpMethod httpMethod,
Object body) |
void |
HttpClient.execute(File output,
HttpMethod httpMethod,
Object request,
HttpSettings settings) |
String |
HttpRequest.execute(HttpMethod httpMethod) |
String |
HttpClient.execute(HttpMethod httpMethod,
Object request) |
String |
HttpRequest.execute(HttpMethod httpMethod,
Object body) |
String |
HttpClient.execute(HttpMethod httpMethod,
Object request,
HttpSettings settings) |
void |
HttpRequest.execute(OutputStream output,
HttpMethod httpMethod,
Object body) |
void |
HttpClient.execute(OutputStream output,
HttpMethod httpMethod,
Object request,
HttpSettings settings) |
void |
HttpRequest.execute(Writer output,
HttpMethod httpMethod,
Object body) |
void |
HttpClient.execute(Writer output,
HttpMethod httpMethod,
Object request,
HttpSettings settings) |
String |
HttpClient.get() |
String |
HttpRequest.get() |
<T> T |
HttpClient.get(Class<T> resultClass) |
<T> T |
HttpRequest.get(Class<T> resultClass) |
<T> T |
HttpClient.get(Class<T> resultClass,
HttpSettings settings) |
<T> T |
HttpClient.get(Class<T> resultClass,
Object queryParameters) |
<T> T |
HttpRequest.get(Class<T> resultClass,
Object query) |
<T> T |
HttpClient.get(Class<T> resultClass,
Object queryParameters,
HttpSettings settings) |
String |
HttpClient.get(HttpSettings settings) |
String |
HttpClient.get(Object queryParameters) |
String |
HttpClient.get(Object queryParameters,
HttpSettings settings) |
<T> T |
HttpClient.post(Class<T> resultClass,
Object request) |
<T> T |
HttpRequest.post(Class<T> resultClass,
Object body) |
<T> T |
HttpClient.post(Class<T> resultClass,
Object request,
HttpSettings settings) |
String |
HttpClient.post(Object request) |
String |
HttpClient.post(Object request,
HttpSettings settings) |
<T> T |
HttpClient.put(Class<T> resultClass,
Object request) |
<T> T |
HttpRequest.put(Class<T> resultClass,
Object body) |
<T> T |
HttpClient.put(Class<T> resultClass,
Object request,
HttpSettings settings) |
String |
HttpClient.put(Object request) |
String |
HttpRequest.put(Object body) |
String |
HttpClient.put(Object request,
HttpSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Parser.deserialize(Class<T> targetClass,
File source) |
<T> T |
Parser.deserialize(Class<T> targetClass,
File source,
DC config) |
<T> T |
Parser.deserialize(Class<T> targetClass,
InputStream source) |
<T> T |
Parser.deserialize(Class<T> targetClass,
InputStream source,
DC config) |
<T> T |
Parser.deserialize(Class<T> targetClass,
Reader source) |
<T> T |
Parser.deserialize(Class<T> targetClass,
Reader source,
DC config) |
void |
Parser.serialize(File output,
Object obj) |
void |
Parser.serialize(File output,
Object obj,
SC config) |
void |
Parser.serialize(OutputStream output,
Object obj) |
void |
Parser.serialize(OutputStream output,
Object obj,
SC config) |
void |
Parser.serialize(Writer output,
Object obj) |
void |
Parser.serialize(Writer output,
Object obj,
SC config) |
| Modifier and Type | Method and Description |
|---|---|
static long |
IOUtil.copy(InputStream in,
Path target,
CopyOption... options) |
static long |
IOUtil.copy(Path source,
OutputStream output) |
static Path |
IOUtil.copy(Path source,
Path target,
CopyOption... options) |
static void |
IOUtil.copyFileToDirectory(File srcFile,
File destDir) |
static void |
IOUtil.copyFileToDirectory(File srcFile,
File destDir,
boolean preserveFileDate) |
static <E extends Exception> |
IOUtil.copyFileToDirectory(File srcFile,
File destDir,
boolean preserveFileDate,
Throwables.BiPredicate<? super File,? super File,E> filter)
Copy the specified
scrFile if it's a file or its sub files/directories if it's a directory to the target destDir with the specified filter. |
static void |
IOUtil.copyURLToFile(URL source,
File destination)
Copies bytes from the URL
source to a file
destination. |
static void |
IOUtil.copyURLToFile(URL source,
File destination,
int connectionTimeout,
int readTimeout)
Copies bytes from the URL
source to a file
destination. |
static boolean |
IOUtil.createIfNotExists(File file)
Creates the if not exists.
|
static List<Class<?>> |
ClassUtil.getClassesByPackage(String pkgName,
boolean isRecursive,
boolean skipClassLoaddingException)
Gets the classes by package.
|
static <E extends Exception> |
ClassUtil.getClassesByPackage(String pkgName,
boolean isRecursive,
boolean skipClassLoaddingException,
Throwables.Predicate<? super Class<?>,E> predicate)
Gets the classes by package.
|
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
File csvFile) |
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
File csvFile,
Collection<String> selectColumnNames) |
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
File csvFile,
Collection<String> selectColumnNames,
long offset,
long count) |
static <E extends Exception> |
CSVUtil.loadCSV(Class<?> entityClass,
File csvFile,
Collection<String> selectColumnNames,
long offset,
long count,
Throwables.Predicate<String[],E> filter)
Load the data from CSV.
|
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
InputStream csvInputStream) |
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
InputStream csvInputStream,
Collection<String> selectColumnNames) |
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
InputStream csvInputStream,
Collection<String> selectColumnNames,
long offset,
long count) |
static <E extends Exception> |
CSVUtil.loadCSV(Class<?> entityClass,
InputStream csvInputStream,
Collection<String> selectColumnNames,
long offset,
long count,
Throwables.Predicate<String[],E> filter)
Load the data from CSV.
|
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
Reader csvReader) |
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
Reader csvReader,
Collection<String> selectColumnNames) |
static DataSet |
CSVUtil.loadCSV(Class<?> entityClass,
Reader csvReader,
Collection<String> selectColumnNames,
long offset,
long count) |
static <E extends Exception> |
CSVUtil.loadCSV(Class<?> entityClass,
Reader csvReader,
Collection<String> selectColumnNames,
long offset,
long count,
Throwables.Predicate<String[],E> filter)
Load the data from CSV.
|
static DataSet |
CSVUtil.loadCSV(File csvFile) |
static DataSet |
CSVUtil.loadCSV(File csvFile,
Collection<String> selectColumnNames) |
static DataSet |
CSVUtil.loadCSV(File csvFile,
Collection<String> selectColumnNames,
long offset,
long count) |
static <E extends Exception> |
CSVUtil.loadCSV(File csvFile,
Collection<String> selectColumnNames,
long offset,
long count,
Throwables.Predicate<String[],E> filter)
Load the data from CSV.
|
static DataSet |
CSVUtil.loadCSV(File csvFile,
List<? extends com.landawn.abacus.type.Type> columnTypeList) |
static DataSet |
CSVUtil.loadCSV(File csvFile,
long offset,
long count,
List<? extends com.landawn.abacus.type.Type> columnTypeList) |
static DataSet |
CSVUtil.loadCSV(File csvFile,
long offset,
long count,
Map<String,? extends com.landawn.abacus.type.Type> columnTypeMap) |
static <E extends Exception> |
CSVUtil.loadCSV(File csvFile,
long offset,
long count,
Throwables.Predicate<String[],E> filter,
List<? extends com.landawn.abacus.type.Type> columnTypeList)
Load the data from CSV.
|
static <E extends Exception> |
CSVUtil.loadCSV(File csvFile,
long offset,
long count,
Throwables.Predicate<String[],E> filter,
Map<String,? extends com.landawn.abacus.type.Type> columnTypeMap)
Load the data from CSV.
|
static DataSet |
CSVUtil.loadCSV(File csvFile,
Map<String,? extends com.landawn.abacus.type.Type> columnTypeMap) |
static DataSet |
CSVUtil.loadCSV(InputStream csvInputStream) |
static DataSet |
CSVUtil.loadCSV(InputStream csvInputStream,
Collection<String> selectColumnNames) |
static DataSet |
CSVUtil.loadCSV(InputStream csvInputStream,
Collection<String> selectColumnNames,
long offset,
long count) |
static <E extends Exception> |
CSVUtil.loadCSV(InputStream csvInputStream,
Collection<String> selectColumnNames,
long offset,
long count,
Throwables.Predicate<String[],E> filter)
Load the data from CSV.
|
static DataSet |
CSVUtil.loadCSV(InputStream csvInputStream,
List<? extends com.landawn.abacus.type.Type> columnTypeList) |
static DataSet |
CSVUtil.loadCSV(InputStream csvInputStream,
long offset,
long count,
List<? extends com.landawn.abacus.type.Type> columnTypeList) |
static DataSet |
CSVUtil.loadCSV(InputStream csvInputStream,
long offset,
long count,
Map<String,? extends com.landawn.abacus.type.Type> columnTypeMap) |
static <E extends Exception> |
CSVUtil.loadCSV(InputStream csvInputStream,
long offset,
long count,
Throwables.Predicate<String[],E> filter,
Map<String,? extends com.landawn.abacus.type.Type> columnTypeMap)
Load the data from CSV.
|
static DataSet |
CSVUtil.loadCSV(InputStream csvInputStream,
Map<String,? extends com.landawn.abacus.type.Type> columnTypeMap) |
static DataSet |
CSVUtil.loadCSV(Reader csvReader) |
static DataSet |
CSVUtil.loadCSV(Reader csvReader,
Collection<String> selectColumnNames) |
static DataSet |
CSVUtil.loadCSV(Reader csvReader,
Collection<String> selectColumnNames,
long offset,
long count) |
static <E extends Exception> |
CSVUtil.loadCSV(Reader csvReader,
Collection<String> selectColumnNames,
long offset,
long count,
Throwables.Predicate<String[],E> filter)
Load the data from CSV.
|
static DataSet |
CSVUtil.loadCSV(Reader csvReader,
long offset,
long count,
Map<String,? extends com.landawn.abacus.type.Type> columnTypeMap) |
static <E extends Exception> |
CSVUtil.loadCSV(Reader csvReader,
long offset,
long count,
Throwables.Predicate<String[],E> filter,
List<? extends com.landawn.abacus.type.Type> columnTypeList)
Load the data from CSV.
|
static <E extends Exception> |
CSVUtil.loadCSV(Reader csvReader,
long offset,
long count,
Throwables.Predicate<String[],E> filter,
Map<String,? extends com.landawn.abacus.type.Type> columnTypeMap)
Load the data from CSV.
|
static DataSet |
CSVUtil.loadCSV(Reader csvReader,
Map<String,? extends com.landawn.abacus.type.Type> columnTypeMap) |
static long |
IOUtil.merge(Collection<File> sourceFiles,
File destFile)
Merge the specified source files into the destination file.
|
static long |
IOUtil.merge(File[] sourceFiles,
File destFile) |
static void |
IOUtil.move(File srcFile,
File destDir) |
static BufferedReader |
IOUtil.newBufferedReader(File file)
New buffered reader.
|
static BufferedReader |
IOUtil.newBufferedReader(File file,
Charset charset)
New buffered reader.
|
static BufferedReader |
IOUtil.newBufferedReader(InputStream is)
New buffered reader.
|
static BufferedReader |
IOUtil.newBufferedReader(InputStream is,
Charset charset)
New buffered reader.
|
static BufferedReader |
IOUtil.newBufferedReader(Path path)
New buffered reader.
|
static BufferedReader |
IOUtil.newBufferedReader(Path path,
Charset charset)
New buffered reader.
|
static BufferedWriter |
IOUtil.newBufferedWriter(File file)
New buffered writer.
|
static BufferedWriter |
IOUtil.newBufferedWriter(File file,
Charset charset)
New buffered writer.
|
static GZIPInputStream |
IOUtil.newGZIPInputStream(InputStream is)
New GZIP input stream.
|
static GZIPInputStream |
IOUtil.newGZIPInputStream(InputStream is,
int bufferSize)
Creates a new input stream with the specified buffer size.
|
static GZIPOutputStream |
IOUtil.newGZIPOutputStream(OutputStream os)
New GZIP output stream.
|
static GZIPOutputStream |
IOUtil.newGZIPOutputStream(OutputStream os,
int bufferSize)
Creates a new input stream with the specified buffer size.
|
static SnappyInputStream |
IOUtil.newSnappyInputStream(InputStream is)
New snappy input stream.
|
static LineIterator |
LineIterator.of(InputStream input,
Charset encoding)
Returns an Iterator for the lines in an
InputStream, using
the character encoding specified (or default encoding if null). |
static byte[] |
IOUtil.readAllBytes(File file) |
static byte[] |
IOUtil.readAllBytes(InputStream is) |
static char[] |
IOUtil.readAllChars(File file) |
static char[] |
IOUtil.readAllChars(File file,
Charset encoding) |
static char[] |
IOUtil.readAllChars(InputStream is) |
static char[] |
IOUtil.readAllChars(InputStream is,
Charset encoding) |
static char[] |
IOUtil.readAllChars(Reader reader) |
static List<String> |
IOUtil.readAllLines(File file) |
static List<String> |
IOUtil.readAllLines(File file,
Charset encoding) |
static List<String> |
IOUtil.readAllLines(InputStream is) |
static List<String> |
IOUtil.readAllLines(InputStream is,
Charset encoding) |
static List<String> |
IOUtil.readAllLines(Reader reader) |
static String |
IOUtil.readString(File file)
Read all content into one
String. |
static String |
IOUtil.readString(File file,
Charset encoding)
Read all content into one
String. |
static String |
IOUtil.readString(File file,
long offset,
int maxLen) |
static String |
IOUtil.readString(File file,
long offset,
int maxLen,
Charset encoding) |
static String |
IOUtil.readString(InputStream is)
Read all content into one
String. |
static String |
IOUtil.readString(InputStream is,
Charset encoding)
Read all content into one
String. |
static String |
IOUtil.readString(InputStream is,
long offset,
int maxLen) |
static String |
IOUtil.readString(InputStream is,
long offset,
int maxLen,
Charset encoding) |
static String |
IOUtil.readString(Reader reader)
Read all content into one
String. |
static String |
IOUtil.readString(Reader reader,
long offset,
int maxLen) |
static void |
IOUtil.split(File file,
int countOfParts) |
static void |
IOUtil.split(File file,
int countOfParts,
File destDir) |
static void |
IOUtil.splitBySize(File file,
long sizeOfPart)
Split by size.
|
static void |
IOUtil.splitBySize(File file,
long sizeOfPart,
File destDir)
Mostly it's designed for (zipped/unzipped/log) text files.
|
static List<File> |
IOUtil.toFiles(Collection<URL> urls) |
static File[] |
IOUtil.toFiles(URL[] urls)
Converts each of an array of
URL to a File. |
String |
BufferedWriter.toString() |
static URL |
IOUtil.toURL(File file) |
static List<URL> |
IOUtil.toURLs(Collection<File> files)
To UR ls.
|
static URL[] |
IOUtil.toURLs(File[] files)
To UR ls.
|
static void |
IOUtil.zip(Collection<File> sourceFiles,
File targetFile) |
static void |
IOUtil.zip(File sourceFile,
File targetFile) |
Copyright © 2021. All rights reserved.