| Package | Description |
|---|---|
| xyz.cofe.cbuffer | |
| xyz.cofe.fs | |
| xyz.cofe.fs.java | |
| xyz.cofe.http | |
| xyz.cofe.ipc.sharedmem | |
| xyz.cofe.text | |
| xyz.cofe.text.template.ctx | |
| xyz.cofe.xml |
Классы для работы с XML
|
| Modifier and Type | Method and Description |
|---|---|
File |
CFileBuffer.getFile() |
| Modifier and Type | Method and Description |
|---|---|
void |
CFileBuffer.setFile(File file) |
| Constructor and Description |
|---|
CFileBuffer(File file)
Конструктор
|
CFileBuffer(File file,
boolean lockfile)
Конструктор
|
| Modifier and Type | Class and Description |
|---|---|
static class |
FileVisitor.ConvertTreeWalk<T extends File> |
interface |
ResolveLink<T extends File> |
interface |
SymbolicLinkSupport<T extends File> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
UnixFile |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFile
Абстрактный файл
|
| Modifier and Type | Field and Description |
|---|---|
File |
FileHelper.file
Ссылка на файл
|
| Modifier and Type | Field and Description |
|---|---|
protected Predicate<Stack<File>> |
FileVisitor.filter |
| Modifier and Type | Method and Description |
|---|---|
File |
File.clone()
Создание клона объекта
|
abstract File |
AbstractFile.clone()
Создание клона объекта
|
static File |
FileIterators.first(Iterable<File> files)
Возвращает первый файл соответствующий фильтру
|
static File |
FileIterators.first(Iterable<File> files,
Predicate<File> p)
Возвращает первый файл соответствующий фильтру
|
File |
FileSystem.get(String path)
Возвращает файл по указанному пути
|
static File |
FileSystems.get(String path)
Получение файла для текущей файловой системы
|
File |
File.getAbsolute()
Возвращает абсолютный путь
|
File |
File.getCanonical()
Возвращает каноническую форму
|
File |
File.getChild(String name)
Возвращает дочерний путь файла / каталога
|
File |
File.getParent()
Возвращает путь соответствующий предку файла/каталога
|
File |
FileSystem.getRoot()
Возвращает корневой файл
|
File |
FileSystems.getWorkDir()
Полчение текущего каталога
|
File |
GetWorkDir.getWorkDir()
Возвращает текущий каталог
|
protected File |
FileVisitor.resolveLink(ResolveLink<File> rl,
int currentResolve,
int maxResolve)
Рекурсивно разрешает ссылки
|
static File |
FileSystems.root()
Получение корневого файла/каталога
|
static File |
FileSystems.workDir()
Получение рабочего каталога
|
| Modifier and Type | Method and Description |
|---|---|
static Predicate<File> |
FilePredicates.and(Predicate<File>... p) |
static Predicate<File> |
FilePredicates.dirContains(Predicate<File> p) |
static Predicate<File> |
FilePredicates.dirEmpty() |
static Predicate<File> |
FilePredicates.dirEmpty(boolean recursive)
Предикат возвращает true если каталог не содержит элементов
|
static Iterable<File> |
FileIterators.filter(Iterable<File> files,
Predicate<File> p)
Фильтрует файлы соответствующие фильтру
|
Iterable<File> |
Glob.find()
Создает итератор для поиска файлов
|
Predicate<Stack<File>> |
FileVisitor.getFilter()
Вызывается перед входом в каталог для проверки необходимости войти
|
Set<File> |
FileVisitor.getVisitHistory()
Возвращает набор посещенных файлов/каталогов
|
static Predicate<File> |
FilePredicates.isDir() |
static Predicate<File> |
FilePredicates.isFile() |
List<File> |
File.listFiles()
Возвращает список дочерних файлов
|
static Predicate<File> |
FilePredicates.nameEquals(String name)
Имя файла совпадает с указанным.
|
static Predicate<File> |
FilePredicates.nameWildcard(String wildcard)
Имя файла совпадает с указанным шаблоном.
|
static Predicate<File> |
FilePredicates.not(Predicate<File> p) |
static Predicate<File> |
FilePredicates.or(Predicate<File>... p) |
Iterable<TreeWalk<File>> |
FileVisitor.treeWalkIterable(File root) |
Iterable<File> |
File.walk()
Возвращает последовательность файлов/каталогов для обхода содержимого
|
Iterable<File> |
File.walk(VisitOptions opts)
Возвращает последовательность файлов/каталогов для обхода содержимого
|
Iterable<File> |
FileVisitor.walkIterable(File root)
Возвращает последовательность файлов/каталогов (включая вложенгные)
|
| Modifier and Type | Method and Description |
|---|---|
Glob |
Glob.cd(File workDirectory)
Указывает текущий каталог относительно которого будет производится поиск.
|
void |
File.renameTo(File target)
Переименовывает файл/каталог
|
Iterable<TreeWalk<File>> |
FileVisitor.treeWalkIterable(File root) |
void |
FileVisitor.walk(File root)
Осуществляет обход каталога,
вызывает методы enter/exit
|
Iterable<File> |
FileVisitor.walkIterable(File root)
Возвращает последовательность файлов/каталогов (включая вложенгные)
|
| Modifier and Type | Method and Description |
|---|---|
void |
File.delete(Reciver<File> deleted)
Удаляет файл/каталог с содержимым
|
void |
File.delete(Reciver<File> deleted,
VisitOptions opts)
Удаляет файл/каталог с содержимым
|
static Predicate<File> |
FilePredicates.dirContains(Predicate<File> p) |
void |
FileVisitor.enter(Stack<File> path)
Вызывается при входе в каталог/файл
|
void |
FileVisitor.exit(Stack<File> path)
Вызывается при выходе из каталога/файла
|
static Iterable<File> |
FileIterators.filter(Iterable<File> files,
Predicate<File> p)
Фильтрует файлы соответствующие фильтру
|
static Iterable<File> |
FileIterators.filter(Iterable<File> files,
Predicate<File> p)
Фильтрует файлы соответствующие фильтру
|
static File |
FileIterators.first(Iterable<File> files)
Возвращает первый файл соответствующий фильтру
|
static File |
FileIterators.first(Iterable<File> files,
Predicate<File> p)
Возвращает первый файл соответствующий фильтру
|
static File |
FileIterators.first(Iterable<File> files,
Predicate<File> p)
Возвращает первый файл соответствующий фильтру
|
static boolean |
FilePredicates.in(Predicate<File> p,
Iterable<File> files) |
static boolean |
FilePredicates.in(Predicate<File> p,
Iterable<File> files) |
Glob |
Glob.matched(Func1<Object,File> matched)
Указывает функцию которая будет принемать файлы совпадающие с шаблоном
|
static Predicate<File> |
FilePredicates.not(Predicate<File> p) |
protected File |
FileVisitor.resolveLink(ResolveLink<File> rl,
int currentResolve,
int maxResolve)
Рекурсивно разрешает ссылки
|
void |
FileVisitor.setFilter(Predicate<Stack<File>> filter)
Вызывается перед входом в каталог для проверки необходимости войти
|
Glob |
Glob.skipped(Func1<Object,File> skipped)
Указывает функцию которая будет принемать пропущенные файлы
|
| Constructor and Description |
|---|
FileHelper(File file)
Конструктор
|
| Modifier and Type | Class and Description |
|---|---|
class |
JavaFile
Файл с стандартной реализацией JAVA
|
class |
RootJavaFile
Корневой файл
|
| Modifier and Type | Method and Description |
|---|---|
File |
JavaFileSystem.get(String path) |
File |
JavaFileSystem.getRoot() |
| Modifier and Type | Method and Description |
|---|---|
List<File> |
RootJavaFile.listFiles() |
List<File> |
JavaFile.listFiles() |
Iterable<File> |
JavaFile.walk() |
Iterable<File> |
JavaFile.walk(VisitOptions opts) |
| Modifier and Type | Method and Description |
|---|---|
void |
RootJavaFile.renameTo(File file) |
void |
JavaFile.renameTo(File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
RootJavaFile.delete(Reciver<File> deleted) |
void |
JavaFile.delete(Reciver<File> deleted) |
void |
RootJavaFile.delete(Reciver<File> deleted,
VisitOptions opts) |
void |
JavaFile.delete(Reciver<File> deleted,
VisitOptions opts) |
| Modifier and Type | Method and Description |
|---|---|
static ContentFragments |
ContentFragments.createMd5(File sourceFile,
int fragmentSize,
Func2<Object,Long,Long> progress) |
| Modifier and Type | Field and Description |
|---|---|
protected File |
IpcChannel.file |
| Modifier and Type | Method and Description |
|---|---|
File |
IpcChannel.getFile() |
| Modifier and Type | Method and Description |
|---|---|
void |
IpcChannel.setFile(File file) |
| Constructor and Description |
|---|
IpcChannel(File file) |
| Constructor and Description |
|---|
Output(File file,
Charset cs)
Конструктор вывода в файл
|
| Modifier and Type | Method and Description |
|---|---|
File |
FileVar.getFile() |
| Constructor and Description |
|---|
FileVar(File file) |
| Modifier and Type | Method and Description |
|---|---|
static Document |
XmlUtil.parseXml(File file)
Парсинг XML из файла
|
Object |
XmlCoder.readXml(File file) |
void |
XmlCoder.writeXml(File target,
Object value) |
Copyright © 2018. All rights reserved.