Package org.nuxeo.runtime.tomcat.dev
Class IOUtils
java.lang.Object
org.nuxeo.runtime.tomcat.dev.IOUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
appendResourceBundleFragments
(String name, List<File> files, File target) protected static void
checkPathTraversal
(String path) Checks if a path contains unwanted characters leading to a path traversal.static void
copyContent
(InputStream is, OutputStream out) static void
static void
deleteTree
(File dir)
-
Constructor Details
-
IOUtils
public IOUtils()
-
-
Method Details
-
deleteTree
-
copyTree
- Throws:
IOException
-
copyContent
- Throws:
IOException
-
appendResourceBundleFragments
public static void appendResourceBundleFragments(String name, List<File> files, File target) throws IOException - Throws:
IOException
-
checkPathTraversal
Checks if a path contains unwanted characters leading to a path traversal.- Since:
- 2025.0
-