|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.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.Entry
public FileObject copy(FileObject f,
String suffix)
copy in class MultiDataObject.Entryf - ignoredsuffix - ignorednull
public FileObject rename(String name)
throws IOException
rename in class MultiDataObject.Entryname - ignorednullIOException - in case of problem
public FileObject move(FileObject f,
String suffix)
throws IOException
move in class MultiDataObject.Entryf - ignoredsuffix - ignorednullIOException - in case of problem
public void delete()
throws IOException
delete in class MultiDataObject.EntryIOException - in case of problem
public FileObject createFromTemplate(FileObject f,
String name)
createFromTemplate in class MultiDataObject.Entryf - ignoredname - ignorednull
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||