Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 267 for toFile (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

                            "The reactor is limited to all projects under: {}",
                            request.getPom().getParent());
                    return request.getPom();
                }
    
                return rootProjectPom.toFile();
            }
        }
    
        /**
         * multiModuleProjectDirectory in MavenExecutionRequest is not always the parent of the request pom.
         * We should always check whether the request pom project is collected.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

        fun File.withUniqueDirectory(prefixPath: String): File =
            Files.createTempDirectory(
                withDirectory(prefixPath.substringBeforeLast("/")).toPath(),
                prefixPath.substringAfterLast("/")
            ).toFile()
    
        private
        fun File.withDirectory(path: String): File =
            resolve(path).apply {
                mkdirs()
            }
    
        private
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 18K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/ResourceUtil.java

         */
        public static File[] getPluginJarFiles(final FilenameFilter filter) {
            final File libDir = getPluginPath().toFile();
            if (!libDir.exists()) {
                return new File[0];
            }
            return libDir.listFiles(filter);
        }
    
        /**
         * Resolves system properties in a given string.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java

                    realm.addURL(file.toUri().toURL());
                }
            }
            return CoreExtensionEntry.discoverFrom(
                    realm,
                    Collections.singleton(artifacts.get(0).getPath().toFile()),
                    extension.getGroupId() + ":" + extension.getArtifactId(),
                    extension.getConfiguration());
        }
    
        private List<Artifact> resolveExtension(
                CoreExtension extension,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

      val directory: File
        get() = cache.directory.toFile()
    
      @get:JvmName("directoryPath")
      val directoryPath: Path
        get() = cache.directory
    
      @JvmName("-deprecated_directory")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "directory"),
        level = DeprecationLevel.ERROR,
      )
      fun directory(): File = cache.directory.toFile()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                Files.copy(pomResource, pom, StandardCopyOption.REPLACE_EXISTING);
            }
    
            MavenProject project =
                    projectBuilder.build(pom.toFile(), buildingRequest).getProject();
            assertEquals("aid", project.getName()); // inherited from artifactId
    
            try (InputStream pomResource =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/FileUtilTest.java

    /**
     * @author koichik
     *
     */
    public class FileUtilTest {
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        @Rule
        public TemporaryFolder tempFolder = new TemporaryFolder();
    
        /**
         * @throws Exception
         */
        @Test
        public void testFileToFile() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/DynamicProperties.java

         * @throws FileAccessException
         *             If the file cannot be accessed or created.
         */
        public DynamicProperties(final Path path) {
            this(path == null ? null : path.toFile());
        }
    
        /**
         * Constructs a {@code DynamicProperties} instance with the specified {@link File}.
         *
         * @param file
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/FileUtil.java

            assertArgumentNotEmpty("encoding", encoding);
    
            final URL url = ResourceUtil.getResource(path);
            if (url.getProtocol().equals("file")) {
                return readText(URLUtil.toFile(url), encoding);
            }
            final InputStream is = URLUtil.openStream(url);
            try {
                final Reader reader = ReaderUtil.create(new BufferedInputStream(is, DEFAULT_BUF_SIZE), encoding);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

       *     names in a loop until {@code mkdir()} returns {@code true}.) For JRE users, prefer {@link
       *     java.nio.file.Files#createTempDirectory}, transforming it to a {@link File} using {@link
       *     java.nio.file.Path#toFile() toFile()} if needed. To restrict permissions as this method
       *     does, pass {@code
       *     PosixFilePermissions.asFileAttribute(PosixFilePermissions.fromString("rwx------"))} to your
       *     call to {@code createTempDirectory}.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
Back to top