|
Quaqua 7.4.2 2011-07-05 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileInfo
Provides information about a File object. FileInfo uses a worker thread for validating the information that it provides. The quality of the information returned increases over time.
Method Summary | |
---|---|
java.io.File |
getFile()
Returns the unresolved file object. |
java.lang.String |
getFileKind()
Returns the kind of the file. |
int |
getFileLabel()
Returns the (color) label of the file. |
long |
getFileLength()
Returns the length of the file. |
javax.swing.Icon |
getIcon()
Returns the icon of the file. |
java.io.File |
getResolvedFile()
Returns the resolved file object. |
java.lang.String |
getUserName()
Returns the user name of the file. |
boolean |
isAcceptable()
Returns true, if the file object is acceptable, i.e. |
boolean |
isHidden()
Returns true, if the file object is hidden. |
boolean |
isTraversable()
Returns true, if the file object is traversable. |
boolean |
isValidating()
Returns true if a worker thread is validating the information provided by this file info object. |
java.io.File |
lazyGetResolvedFile()
Lazyily returns the resolved file object. |
Method Detail |
---|
java.io.File getFile()
java.io.File getResolvedFile()
java.io.File lazyGetResolvedFile()
boolean isTraversable()
boolean isHidden()
boolean isAcceptable()
int getFileLabel()
java.lang.String getUserName()
javax.swing.Icon getIcon()
long getFileLength()
java.lang.String getFileKind()
boolean isValidating()
|
Copyright 2003-2007 (c) Werner Randelshofer. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |