JavaScript is disabled on your browser.
JavaScript is disabled on your browser.
Constructor Summary
Constructors
Constructor
Description
BasicFileView ()
Constructs a BasicFileView
.
Method Summary
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Method Detail
getDescription
public String getDescription(File f)
A human readable description of the file. For example,
a file named jag.jpg might have a description that read:
"A JPEG image file of James Gosling's face".
Overrides:
getDescription
in class FileView
Parameters:
f
- a File
object
Returns:
a String
containing a description of the file or
null
if it is not available.
getTypeDescription
public String getTypeDescription(File f)
A human readable description of the type of the file. For
example, a jpg
file might have a type description of:
"A JPEG Compressed Image File"
Overrides:
getTypeDescription
in class FileView
Parameters:
f
- a File
object
Returns:
a String
containing a description of the type of the file
or null
if it is not available .
JavaScript is disabled on your browser.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .
Scripting on this page tracks web page traffic, but does not change the content in any way.