Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for toMatch (0.16 sec)

  1. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

            } finally {
                if (!isInMemory() && !done) {
                    final File file = super.getFile();
                    if (file != null) {
                        try {
                            Files.deleteIfExists(file.toPath());
                        } catch (final IOException e) {
                            logger.warning(e.getLocalizedMessage());
                        }
                    }
                }
            }
        }
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

        public Metadata read(File input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            return read(Files.newInputStream(input.toPath()), options);
        }
    
        public Metadata read(Reader input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (Reader in = input) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLocalRepository.java

        @Nonnull
        @Override
        public String getType() {
            return repository.getContentType();
        }
    
        @Nonnull
        @Override
        public Path getPath() {
            return repository.getBasedir().toPath();
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. apache-maven/src/test/java/org/apache/maven/settings/GlobalSettingsTest.java

            assertTrue(globalSettingsFile.isFile(), globalSettingsFile.getAbsolutePath());
    
            try (InputStream is = Files.newInputStream(globalSettingsFile.toPath())) {
                new SettingsStaxReader().read(is, true, new InputSource(globalSettingsFile.getAbsolutePath()));
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                    if (id.equals(id(project.getArtifact()))
                            && project.getArtifact().getFile() != null) {
                        return Optional.of(project.getArtifact().getFile().toPath());
                    }
                }
            }
            Path path = paths.get(id);
            if (path == null && artifact instanceof DefaultArtifact) {
                path = ((DefaultArtifact) artifact).getArtifact().getPath();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadata.java

        public void bind(Artifact artifact) {
            artifacts.add(artifact);
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new LocalSnapshotMetadata(metadata, file.toPath(), timestamp);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
            return new LocalSnapshotMetadata(metadata, path, timestamp);
        }
    
        public Object getKey() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/io/ContentCache.java

            this.data = null;
            this.file = file;
        }
    
        @Override
        public void close() throws IOException {
            if (file != null) {
                Files.delete(file.toPath());
            }
        }
    
        public InputStream getInputStream() throws IOException {
            if (file != null) {
                return new FileInputStream(file);
            }
            return new ByteArrayInputStream(data);
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 1.6K bytes
    - Viewed (1)
  8. maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         * @deprecated Use {@link #FileSource(Path)} instead.
         */
        @Deprecated
        public FileSource(File file) {
            this(Objects.requireNonNull(file, "file cannot be null").toPath());
        }
    
        /**
         * Creates a new source backed by the specified file.
         *
         * @param path The file, must not be {@code null}.
         * @since 4.0.0
         */
        public FileSource(Path path) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/idn/StringprepTest.kt

    import okio.Buffer
    import okio.ByteString.Companion.decodeHex
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.junit.Test
    
    class StringprepTest {
      private val reader = StringprepTablesReader(FileSystem.RESOURCES)
      private val rfc3491 = reader.readNameprep("/okhttp3/internal/idn".toPath())
      private val stringPrep =
        Stringprep(
          unassigned = RangeListCodePointSet(listOf()),
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

            PersistedToolchains toolchains = null;
    
            if (userToolchainsFile != null && userToolchainsFile.isFile()) {
                try (InputStream in = Files.newInputStream(userToolchainsFile.toPath())) {
                    toolchains = new PersistedToolchains(new MavenToolchainsStaxReader().read(in));
                } catch (Exception e) {
                    throw new MisconfiguredToolchainException(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 2.2K bytes
    - Viewed (0)
Back to top