public class FileEntry extends AbstractCLEntry implements UrlClassLoaderEntry
| Modifier and Type | Field and Description |
|---|---|
protected String |
path
Указывает путь до каталога/jar архива с скомпилированным кодом
|
label, scnChangedSupport, sync| Constructor and Description |
|---|
FileEntry()
Конструктор по умолчанию
|
FileEntry(File path)
Конструктор
|
FileEntry(File path)
Конструктор
|
FileEntry(FileEntry sample)
Конструктор копирования
|
FileEntry(String path)
Конструктор
|
| Modifier and Type | Method and Description |
|---|---|
FileEntry |
clone()
Клонирование объекта
|
String |
getPath()
Указывает путь до каталога/jar архива с скомпилированным кодом
|
void |
restore(Map map)
Восстановление состояния объекта
|
void |
setPath(String path)
Указывает путь до каталога/jar архива с скомпилированным кодом.
|
void |
store(Map map)
Сохранение состояния объекта
|
List<URL> |
urls(UrlClassLoaderBuilder builder)
Создает url до конечных файлов/каталогов
|
addScnChangedEvent, addScnChangedListener, addScnChangedListener, compareAndSetSync, fireScnChanged, fireScnChangedEvent, fireScnChangedEvents, getLabel, getScnChangedEventQueue, getScnChangedListeners, getSync, hasScnChangedListener, nextscn, nextscn, removeAllScnChangedListeners, removeScnChangedListener, scn, setLabel, setSyncprotected String path
public FileEntry()
public FileEntry(String path)
path - путь до каталога/jar архива с скомпилированным кодомpublic FileEntry(File path)
path - путь до каталога/jar архива с скомпилированным кодомpublic FileEntry(File path)
path - путь до каталога/jar архива с скомпилированным кодомpublic FileEntry(FileEntry sample)
sample - образец для копированияpublic FileEntry clone()
clone in interface UrlClassLoaderEntryclone in class Objectpublic String getPath()
public void setPath(String path)
path - путь/null ссылкаpublic List<URL> urls(UrlClassLoaderBuilder builder)
urls in interface UrlClassLoaderEntrybuilder - ClassLoader/Builder относительно которого производится построение URL.
Для относительных путей строиться URL относительно builder.getBaseDirectory()UrlClassLoaderBuilder.getBaseDirectory()public void store(Map map)
MapStoreCopyright © 2018. All rights reserved.