Package net.sourceforge.plantuml
Class FileUtils
java.lang.Object
net.sourceforge.plantuml.FileUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
copyInternal
(InputStream fis, OutputStream fos, boolean close) static void
copyToFile
(byte[] src, SFile dest) static void
copyToFile
(SFile src, SFile dest) static void
copyToStream
(File src, OutputStream os) static void
copyToStream
(InputStream is, OutputStream os) static void
copyToStream
(SFile src, OutputStream os) static SFile
createTempFile
(String prefix, String suffix) static File
createTempFileLegacy
(String prefix, String suffix) static String
static String
readSvg
(InputStream is) static String
static String
readText
(InputStream is) static void
-
Constructor Details
-
FileUtils
public FileUtils()
-
-
Method Details
-
resetCounter
public static void resetCounter() -
readSvg
- Throws:
IOException
-
readSvg
- Throws:
IOException
-
copyInternal
public static void copyInternal(InputStream fis, OutputStream fos, boolean close) throws IOException - Throws:
IOException
-
readText
- Throws:
IOException
-
createTempFileLegacy
- Throws:
IOException
-
createTempFile
- Throws:
IOException
-
copyToFile
- Throws:
IOException
-
copyToStream
- Throws:
IOException
-
copyToStream
- Throws:
IOException
-
copyToStream
- Throws:
IOException
-
copyToFile
- Throws:
IOException
-
readFile
- Throws:
IOException
-