public 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,
java.lang.String suffix) |
Does nothing.
|
org.openide.filesystems.FileObject |
createFromTemplate(org.openide.filesystems.FileObject f,
java.lang.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,
java.lang.String suffix) |
Removes file.
|
org.openide.filesystems.FileObject |
rename(java.lang.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,
java.lang.String suffix)
copy in class MultiDataObject.Entryf - ignoredsuffix - ignorednullpublic org.openide.filesystems.FileObject rename(java.lang.String name)
throws java.io.IOException
rename in class MultiDataObject.Entryname - ignorednulljava.io.IOException - in case of problempublic org.openide.filesystems.FileObject move(org.openide.filesystems.FileObject f,
java.lang.String suffix)
throws java.io.IOException
move in class MultiDataObject.Entryf - ignoredsuffix - ignorednulljava.io.IOException - in case of problempublic void delete()
throws java.io.IOException
delete in class MultiDataObject.Entryjava.io.IOException - in case of problempublic org.openide.filesystems.FileObject createFromTemplate(org.openide.filesystems.FileObject f,
java.lang.String name)
createFromTemplate in class MultiDataObject.Entryf - ignoredname - ignorednullBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.