Serializablepublic static final class FileEntry.Numb extends MultiDataObject.Entry
Useful for representing useless files.
| Constructor | Description |
|---|---|
Numb(MultiDataObject obj,
org.openide.filesystems.FileObject fo) |
Create a dummy entry.
|
| Modifier and Type | Method | Description |
|---|---|---|
org.openide.filesystems.FileObject |
copy(org.openide.filesystems.FileObject f,
String suffix) |
Does nothing.
|
org.openide.filesystems.FileObject |
createFromTemplate(org.openide.filesystems.FileObject f,
String name) |
Does nothing.
|
void |
delete() |
Removes file.
|
boolean |
isImportant() |
Is not important at all.
|
org.openide.filesystems.FileObject |
move(org.openide.filesystems.FileObject f,
String suffix) |
Removes file.
|
org.openide.filesystems.FileObject |
rename(String name) |
Removes file.
|
copyRename, equals, getDataObject, getFile, hashCode, isLocked, takeLock, writeReplacepublic Numb(MultiDataObject obj, org.openide.filesystems.FileObject fo)
obj - the data object this entry belongs tofo - the file object to create an entry forpublic boolean isImportant()
isImportant in class MultiDataObject.Entrypublic org.openide.filesystems.FileObject copy(org.openide.filesystems.FileObject f,
String suffix)
copy in class MultiDataObject.Entryf - ignoredsuffix - ignorednullpublic org.openide.filesystems.FileObject rename(String name) throws IOException
rename in class MultiDataObject.Entryname - ignorednullIOException - in case of problempublic org.openide.filesystems.FileObject move(org.openide.filesystems.FileObject f,
String suffix)
throws IOException
move in class MultiDataObject.Entryf - ignoredsuffix - ignorednullIOException - in case of problempublic void delete()
throws IOException
delete in class MultiDataObject.EntryIOException - in case of problempublic org.openide.filesystems.FileObject createFromTemplate(org.openide.filesystems.FileObject f,
String name)
createFromTemplate in class MultiDataObject.Entryf - ignoredname - ignorednullBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.