Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 81 for getAbsolutePath (0.7 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

                if (dfos != null && !dfos.isInMemory()) {
                    final File file = dfos.getFile();
                    if (!file.delete()) {
                        logger.warn("Failed to delete {}.", file.getAbsolutePath());
                    }
                }
            }
    
        }
    
        protected String getMimeType(final DeferredFileOutputStream out) throws IOException {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            String localRepositoryPath = null;
    
            if (request.getLocalRepositoryPath() != null) {
                localRepositoryPath = request.getLocalRepositoryPath().getAbsolutePath();
            }
    
            if (localRepositoryPath == null || localRepositoryPath.isEmpty()) {
                String path = request.getUserProperties().getProperty(Constants.MAVEN_USER_CONF);
                if (path == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                    if (propFile.delete() && logger.isDebugEnabled()) {
                        logger.debug("Deleted a temp file: {}", propFile.getAbsolutePath());
                    }
                    systemProperties.reload(propFile.getAbsolutePath());
                    propFile.deleteOnExit();
                } catch (final Exception e) {
                    logger.warn("Failed to create system properties file.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/opensearch/extension/analysis/NumberConcatenationFilterFactory.java

                    suffixWords = WordlistLoader.getWordSet(reader);
                } catch (final IOException e) {
                    throw new IllegalArgumentException("Could not load " + suffixWordsFile.getAbsolutePath(), e);
                }
            } else {
                suffixWords = new CharArraySet(0, false);
            }
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/ExecJob.java

            if (ownTmpDir == null) {
                return;
            }
            if (!FileUtils.deleteQuietly(ownTmpDir)) {
                logger.warn("Could not delete a temp dir: {}", ownTmpDir.getAbsolutePath());
            }
        }
    
        protected void appendJarFile(final String cpSeparator, final StringBuilder buf, final File libDir, final String basePath) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java

            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
                String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
    
                Artifact artifact = createArtifact("artifact", "1.0");
    
                File source = new File(artifactBasedir, "artifact-1.0.jar");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

            super.setUp();
            testDir = File.createTempFile("synonymtest", "_dir");
            testDir.delete();
            testDir.mkdirs();
            file1 = new File(testDir, "synonym.txt");
            FileUtil.writeBytes(file1.getAbsolutePath(), "abc=>123\nxyz,890".getBytes(Constants.UTF_8));
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            FileUtils.deleteDirectory(testDir);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                    if (propFile.delete() && logger.isDebugEnabled()) {
                        logger.debug("Deleted a temp file: {}", propFile.getAbsolutePath());
                    }
                    systemProperties.reload(propFile.getAbsolutePath());
                    propFile.deleteOnExit();
                } catch (final Exception e) {
                    logger.warn("Failed to create system properties file.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            AssertionError error = new AssertionError("malformed class path entry: " + entry);
            error.initCause(e);
            throw error;
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 13 20:26:15 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  10. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

            }
        }
    
        @Test
        void testGetLocation() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
            assertEquals(txtFile.getAbsolutePath(), source.getLocation());
        }
    
        @Test
        void testGetFile() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top