Method listRoots()
Return type:
java.io.File
[]
Member of:
java.io.File
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
File [] fileRoots = File.listRoots();
2
File f[] = File.listRoots();
3
File[] roots = File.listRoots();
4
File roots[] = File.listRoots();
5
files = File.listRoots();
6
File[] roots = File.listRoots();
7
File[] roots=File.listRoots();
8
File[] childArray = File.listRoots();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.