Class _IOUtils
java.lang.Object
net.thevpc.nsh.util.bundles._IOUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopy(InputStream in, OutputStream out) copy le flux d'entree dans le lux de sortiestatic voidcopy(InputStream in, OutputStream out, int bufferSize) copy le flux d'entree dans le lux de sortiestatic voidcopy(NPath in, OutputStream out) copy le flux d'entree dans le lux de sortiestatic voidcopy(NPath in, OutputStream out, int bufferSize) copy streamstatic StringgetAbsoluteFile2(String path, String cwd, NSession session) static byte[]static byte[]loadByteArray(URL url) static Stringstatic StringloadString(URL url)
-
Field Details
-
DEFAULT_BUFFER_SIZE
public static final int DEFAULT_BUFFER_SIZE- See Also:
-
-
Constructor Details
-
_IOUtils
public _IOUtils()
-
-
Method Details
-
loadString
- Throws:
IOException
-
loadString
- Throws:
IOException
-
loadByteArray
- Throws:
IOException
-
loadByteArray
- Throws:
IOException
-
copy
copy le flux d'entree dans le lux de sortie- Parameters:
in- entreeout- sortie- Throws:
IOException- when IO error
-
copy
copy le flux d'entree dans le lux de sortie- Parameters:
in- inputout- outputbufferSize- bufferSize- Throws:
IOException- when IO error
-
copy
copy le flux d'entree dans le lux de sortie- Parameters:
in- entreeout- sortie- Throws:
IOException- when IO error
-
copy
copy stream- Parameters:
in- inputout- outputbufferSize- bufferSize- Throws:
IOException- when IO error
-
getAbsoluteFile2
-