|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openide.loaders.MultiDataObject.Entry
org.openide.loaders.FileEntry.Numb
Simple file entry variant. It does nearly nothing. When a file is copied, it does nothing. If it is moved or renamed it deletes the file.
Useful for representing useless files.
| Constructor Summary | |
FileEntry.Numb(MultiDataObject obj,
FileObject fo)
Create a dummy entry. |
|
| Method Summary | |
FileObject |
copy(FileObject f,
String suffix)
Does nothing. |
FileObject |
createFromTemplate(FileObject f,
String name)
Does nothing. |
void |
delete()
Removes file. |
boolean |
isImportant()
Is not important at all. |
FileObject |
move(FileObject f,
String suffix)
Removes file. |
FileObject |
rename(String name)
Removes file. |
| Methods inherited from class org.openide.loaders.MultiDataObject.Entry |
equals, getDataObject, getFile, hashCode, isLocked, takeLock, writeReplace |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileEntry.Numb(MultiDataObject obj, FileObject fo)
obj - the data object this entry belongs tofo - the file object to create an entry for| Method Detail |
public boolean isImportant()
isImportant in class MultiDataObject.Entrypublic FileObject copy(FileObject f, String suffix)
copy in class MultiDataObject.Entryf - ignoredsuffix - ignored
nullpublic FileObject rename(String name) throws IOException
rename in class MultiDataObject.Entryname - ignored
null
IOException - in case of problempublic FileObject move(FileObject f, String suffix) throws IOException
move in class MultiDataObject.Entryf - ignoredsuffix - ignored
null
IOException - in case of problem
public void delete()
throws IOException
delete in class MultiDataObject.EntryIOException - in case of problempublic FileObject createFromTemplate(FileObject f, String name)
createFromTemplate in class MultiDataObject.Entryf - ignoredname - ignored
null
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||