Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for baseDirectory (2.32 sec)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

         * @param baseDirectory the base directory that the path must be within (must not be {@literal null})
         * @return true if the path is safe (within the base directory), false otherwise
         */
        public static boolean isPathSafe(final Path pathToCheck, final Path baseDirectory) {
            assertArgumentNotNull("pathToCheck", pathToCheck);
            assertArgumentNotNull("baseDirectory", baseDirectory);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

         *            the root directory
         * @param baseDirectory
         *            the base directory
         * @return a {@link File} representing the base directory
         */
        protected static File getBaseDir(final File rootDir, final String baseDirectory) {
            assertArgumentNotNull("rootDir", rootDir);
    
            File baseDir = rootDir;
            if (baseDirectory != null) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top