Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for createLink (1.03 seconds)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

          Path fooSymlink = fs.getPath("symlink");
          Files.createSymbolicLink(fooSymlink, fooPath);
    
          Path fooHardlink = fs.getPath("hardlink");
          Files.createLink(fooHardlink, fooPath);
    
          assertThat(MoreFiles.equal(fooPath, fooSymlink)).isTrue();
          assertThat(MoreFiles.equal(fooPath, fooHardlink)).isTrue();
          assertThat(MoreFiles.equal(fooSymlink, fooHardlink)).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    Files.createDirectories(target.getParent());
                    try {
                        Files.deleteIfExists(target);
                        Files.createLink(target, source);
                    } catch (UnsupportedOperationException | IOException suppressed) {
                        LOGGER.info("Copying {} to project local repository.", artifact);
                        try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

          Path fooSymlink = fs.getPath("symlink");
          Files.createSymbolicLink(fooSymlink, fooPath);
    
          Path fooHardlink = fs.getPath("hardlink");
          Files.createLink(fooHardlink, fooPath);
    
          assertThat(MoreFiles.equal(fooPath, fooSymlink)).isTrue();
          assertThat(MoreFiles.equal(fooPath, fooHardlink)).isTrue();
          assertThat(MoreFiles.equal(fooSymlink, fooHardlink)).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

      }
    
      public static CharSinkFactory asCharSinkFactory(ByteSinkFactory factory) {
        checkNotNull(factory);
        return new CharSinkFactory() {
          @Override
          public CharSink createSink() throws IOException {
            return factory.createSink().asCharSink(UTF_8);
          }
    
          @Override
          public String getSinkContents() throws IOException {
            return new String(factory.getSinkContents(), UTF_8);
          }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/SourceSinkFactory.java

        S createSource(T data) throws IOException;
      }
    
      /** Factory for byte or char sinks. */
      interface SinkFactory<S, T> extends SourceSinkFactory<S, T> {
    
        /** Creates a new sink. */
        S createSink() throws IOException;
    
        /** Gets the current content of the created sink. */
        T getSinkContents() throws IOException;
      }
    
      /** Factory for {@link ByteSource} instances. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/CharSinkTester.java

        this.lines = getLines(string);
        this.expectedLines = getLines(expected);
      }
    
      @Override
      protected void setUp() throws Exception {
        this.sink = factory.createSink();
      }
    
      public void testOpenStream() throws IOException {
        Writer writer = sink.openStream();
        try {
          writer.write(data);
        } finally {
          writer.close();
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/SourceSinkFactory.java

        S createSource(T data) throws IOException;
      }
    
      /** Factory for byte or char sinks. */
      interface SinkFactory<S, T> extends SourceSinkFactory<S, T> {
    
        /** Creates a new sink. */
        S createSink() throws IOException;
    
        /** Gets the current content of the created sink. */
        T getSinkContents() throws IOException;
      }
    
      /** Factory for {@link ByteSource} instances. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/CharSinkTester.java

        this.lines = getLines(string);
        this.expectedLines = getLines(expected);
      }
    
      @Override
      protected void setUp() throws Exception {
        this.sink = factory.createSink();
      }
    
      public void testOpenStream() throws IOException {
        Writer writer = sink.openStream();
        try {
          writer.write(data);
        } finally {
          writer.close();
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.5K bytes
    - Click Count (0)
Back to Top