Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 144 for toPath (0.06 sec)

  1. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            File psOutFile = new File(rootProjectDir, timestamp + ".psoutput");
    
            try {
                Files.write(psOutFile.toPath(), psOutput);
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
    
        private static void cleanPsOutputAndThreaddumpFilesFromPreviousRun(File rootProjectDir) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/FileUtil.java

        public static void deleteInBackground(final File file) {
            if (file != null) {
                TimeoutManager.getInstance().addTimeoutTarget(() -> {
                    try {
                        Files.deleteIfExists(file.toPath());
                    } catch (final IOException e) {
                        throw new IORuntimeException(e);
                    }
                }, 0, false);
            }
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                        public Object getValue(String expression) {
                            if (projectDir != null && "baseUri".equals(expression)) {
                                return projectDir.getAbsoluteFile().toPath().toUri().toASCIIString();
                            }
                            return null;
                        }
                    },
                    PROJECT_PREFIXES,
                    false);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

                } catch (MalformedURLException e) {
                    throw new IllegalStateException(e);
                }
            } else {
                return Files.newInputStream(new File(pluginFile, descriptor).toPath());
            }
        }
    
        /**
         * Creates a shallow copy of this plugin descriptor.
         */
        @Override
        public PluginDescriptor clone() {
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

            verifyToken(this::asDownloadHtml);
    
            return asStream("badword.csv").contentTypeOctetStream().stream(out -> {
                final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-badword-", ".csv").toPath();
                try {
                    try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) {
                        badWordService.exportCsv(writer);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            }
        }
    
        @Deprecated
        @Override
        public Result<? extends Model> buildRawModel(File pomFile, int validationLevel, boolean locationTracking) {
            return buildRawModel(pomFile.toPath(), validationLevel, locationTracking, null);
        }
    
        @Override
        public Result<? extends Model> buildRawModel(Path pomFile, int validationLevel, boolean locationTracking) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

            verifyToken(this::asDownloadHtml);
    
            return asStream("elevate.csv").contentTypeOctetStream().stream(out -> {
                final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-elevate-", ".csv").toPath();
                try {
                    try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) {
                        elevateWordService.exportCsv(writer);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            systemHelper = new SystemHelper() {
                @Override
                protected void parseProjectProperties(final Path propPath) {
                    super.parseProjectProperties(propFile.toPath());
                }
    
                @Override
                public void updateSystemProperties() {
                }
    
                @Override
                protected Map<String, String> getEnvMap() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                // Not using File#lastModified() to avoid a Linux JDK8 milliseconds precision bug: JDK-8177809.
                long artifactLastModified =
                        Files.getLastModifiedTime(packagedArtifactFile.toPath()).toMillis();
    
                if (session.getProjectBuildingRequest().getBuildStartTime() != null) {
                    long buildStartTime =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        synchronized(cache) { cache.initialize() }
      }
    
      fun setUp(
        baseFilesystem: FileSystem,
        windows: Boolean,
      ) {
        this.cacheDir =
          if (baseFilesystem is FakeFileSystem) "/cache".toPath() else cacheDirFile.path.toPath()
        this.filesystem = FaultyFileSystem(baseFilesystem)
        this.windows = windows
    
        if (filesystem.exists(cacheDir)) {
          filesystem.deleteRecursively(cacheDir)
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top