[java] obtenir une partie d'un fichier
Shno_
-
Shino_ Messages postés 3 Date d'inscription Statut Membre -
Shino_ Messages postés 3 Date d'inscription Statut Membre -
Bonjour,
Dans le cadre d'un projet p2p en informatique, j'ai besoin d'une méthode qui me permettrait d'obtenir une "partie"
d'un fichier. Je ne trouve rien pour l'instant...
/**
* Get a portion of a file
* @param fileName
* @param offset
* @param length
* @return
* @throws exceptions.FileDoesNotExist
* @throws exceptions.InvalidFileOffset
*/
public byte[] getFile (String fileName, int offset, int length) throws FileDoesNotExist, InvalidFileOffset {...}
Merci à ceux qui ont une idée..
Dans le cadre d'un projet p2p en informatique, j'ai besoin d'une méthode qui me permettrait d'obtenir une "partie"
d'un fichier. Je ne trouve rien pour l'instant...
/**
* Get a portion of a file
* @param fileName
* @param offset
* @param length
* @return
* @throws exceptions.FileDoesNotExist
* @throws exceptions.InvalidFileOffset
*/
public byte[] getFile (String fileName, int offset, int length) throws FileDoesNotExist, InvalidFileOffset {...}
Merci à ceux qui ont une idée..
A voir également:
- [java] obtenir une partie d'un fichier
- Comment ouvrir un fichier epub ? - Guide
- Jeux java itel touche - Télécharger - Jeux vidéo
- Fichier bin - Guide
- Comment réduire la taille d'un fichier - Guide
- Fichier rar - Guide