My favorites
▼
|
Sign in
lineadecodigo
Web Code Samples in spanish
Project Home
Downloads
Wiki
Issues
Source
Checkout
Browse
Changes
Source path:
svn
/
trunk
/
lineadecodigo_java
/
src
/
com
/
lineadecodigo
/
java
/
file
/
UnidadesSistemaFicheros.java
r478
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.lineadecodigo.java.file;
import java.io.File;
/**
* @file RaicesSistemaFicheros.java
* @version 1.0
* @author Linea de Codigo (http://lineadecodigo.com)
* @date 13/septiembre/2011
* @url http://lineadecodigo.com/java/unidades-del-sistema-de-ficheros-con-java/
* @description Programa que nos permite saber cuantas unidades (raices o root) hay en nuestro sistema
*/
public class UnidadesSistemaFicheros {
public static void main(String[] args) {
File[] roots = File.listRoots();
for (int i=0; i<roots.length; i++) {
System.out.println(roots[i]);
}
}
}
Show details
Hide details
Change log
r384
by vcuervo on Sep 13, 2011
Diff
Unidades de un sistema de ficheros con Java
Go to:
...ile/UnidadesSistemaFicheros.java
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 623 bytes, 25 lines
View raw file
Powered by
Google Project Hosting