Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for inDirectory (0.19 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

                if (selectedProject.isFile()) {
                    return selectedProject.equals(project.getFile());
                } else if (selectedProject.isDirectory()) {
                    return selectedProject.equals(project.getBasedir());
                }
            }
    
            return false;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                    Path path = topDirectory.resolve(stripLeadingAndTrailingQuotes(arg));
                    if (Files.isDirectory(path)) {
                        topDirectory = path;
                    } else if (Files.isRegularFile(path)) {
                        topDirectory = path.getParent();
                        if (!Files.isDirectory(topDirectory)) {
                            throw new ParserException("Directory " + topDirectory
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

            assertArgumentNotNull("handler", handler);
    
            final int pos = prefix.length();
            for (final JarEntry entry : iterable(jarFile.entries())) {
                if (!entry.isDirectory()) {
                    final String entryName = entry.getName().replace('\\', '/');
                    if (!entryName.startsWith(prefix)) {
                        continue;
                    }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

            }
            try (ZipInputStream zis = new ZipInputStream(Files.newInputStream(jarPath))) {
                ZipEntry entry;
                while ((entry = zis.getNextEntry()) != null) {
                    if (!entry.isDirectory()) {
                        final String[] names = StreamUtil.split(entry.getName(), "/")
                                .get(stream -> stream.filter(s -> !"..".equals(s)).toArray(n -> new String[n]));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

          assertThrows(IllegalStateException.class, Files::createTempDir);
          return;
        }
        File temp = Files.createTempDir();
        try {
          assertThat(temp.exists()).isTrue();
          assertThat(temp.isDirectory()).isTrue();
          assertThat(temp.listFiles()).isEmpty();
          File child = new File(temp, "child");
          assertThat(child.createNewFile()).isTrue();
          assertThat(child.delete()).isTrue();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

          assertThrows(IllegalStateException.class, Files::createTempDir);
          return;
        }
        File temp = Files.createTempDir();
        try {
          assertThat(temp.exists()).isTrue();
          assertThat(temp.isDirectory()).isTrue();
          assertThat(temp.listFiles()).isEmpty();
          File child = new File(temp, "child");
          assertThat(child.createNewFile()).isTrue();
          assertThat(child.delete()).isTrue();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/EnumTest.java

                            System.err.println(serv.getName());
                            assertEquals(SmbConstants.TYPE_SERVER, serv.getType());
                            assertTrue(serv.isDirectory());
                        }
                    }
                }
            }
            catch ( SmbUnsupportedOperationException e ) {
                Assume.assumeTrue("Browsing unsupported", false);
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                return true;
            }
    
            final File parentFile = outputFile.getParentFile();
            if (!parentFile.exists()) {
                parentFile.mkdirs();
            }
            if (!parentFile.isDirectory()) {
                logger.warn("Not found: {}", parentFile.getAbsolutePath());
                return false;
            }
    
            return process(thumbnailId, responseData -> {
                if (!isImageMimeType(responseData)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        String path = request.getPath();
        try {
          if (!path.startsWith("/") || path.contains("..")) throw new FileNotFoundException();
    
          File file = new File(root + path);
          return file.isDirectory()
              ? directoryToResponse(path, file)
              : fileToResponse(path, file);
        } catch (FileNotFoundException e) {
          return new MockResponse()
              .setStatus("HTTP/1.1 404")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Jan 02 02:50:44 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/PythonJob.java

            try {
    
                final File baseDir = new File(servletContext.getRealPath("/WEB-INF")).getParentFile();
    
                if (logger.isInfoEnabled()) {
                    logger.info("Python: \nDirectory={}\nOptions={}", baseDir, cmdList);
                }
    
                final JobProcess jobProcess = processHelper.startProcess(sessionId, cmdList, pb -> {
                    pb.directory(baseDir);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top