Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1564 connectés 

  FORUM HardWare.fr
  Programmation
  Java

  composant de lecteur

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

composant de lecteur

n°556423
os2
Posté le 01-11-2003 à 18:51:25  profilanswer
 

ça existe en java un composant ou truc du genre qui listerait les hd, zip...


---------------
Borland rulez: http://pages.infinit.net/borland
mood
Publicité
Posté le 01-11-2003 à 18:51:25  profilanswer
 

n°556850
veryfree
Posté le 02-11-2003 à 16:42:59  profilanswer
 

java.io.File?

n°556858
veryfree
Posté le 02-11-2003 à 16:51:17  profilanswer
 

listRoots
 
public static File[] listRoots()
 
    List the available filesystem roots.
 
    A particular Java platform may support zero or more hierarchically-organized file systems. Each file system has a root directory from which all other files in that file system can be reached. Windows platforms, for example, have a root directory for each active drive; UNIX platforms have a single root directory, namely "/". The set of available filesystem roots is affected by various system-level operations such the insertion or ejection of removable media and the disconnecting or unmounting of physical or virtual disk drives.
 
    This method returns an array of File objects that denote the root directories of the available filesystem roots. It is guaranteed that the canonical pathname of any file physically present on the local machine will begin with one of the roots returned by this method.
 
    The canonical pathname of a file that resides on some other machine and is accessed via a remote-filesystem protocol such as SMB or NFS may or may not begin with one of the roots returned by this method. If the pathname of a remote file is syntactically indistinguishable from the pathname of a local file then it will begin with one of the roots returned by this method. Thus, for example, File objects denoting the root directories of the mapped network drives of a Windows platform will be returned by this method, while File objects containing UNC pathnames will not be returned by this method.
 
    Unlike most methods in this class, this method does not throw security exceptions. If a security manager exists and its SecurityManager.checkRead(java.io.FileDescriptor) method denies read access to a particular root directory, then that directory will not appear in the result.


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  Java

  composant de lecteur

 

Sujets relatifs
lire une video dans le lecteur par defaut[DELPHI 5] j'ai besoin d'un info sur le composant Tchart ...
Ecriture d'un composant BD[XSL] Composant d'un formulaire invisible
Y a moyen de lire le contenu d'un lecteur de CD ????VB6 - Composant FTP : Ch testeurs (code source client FTP fourni)
[ACCESS] Affecter une valeur à un composant d'un formulairelecteur de stream dans une page web
composant TNMFTP[VBA excel] composant ActiveX
Plus de sujets relatifs à : composant de lecteur


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR