Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 409 for readdir (0.07 sec)

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

        Reader reader = new StringReader("abcde");
        assertThrows(EOFException.class, () -> CharStreams.skipFully(reader, 6));
      }
    
      public void testSkipFully() throws IOException {
        String testString = "abcdef";
        Reader reader = new StringReader(testString);
    
        assertEquals(testString.charAt(0), reader.read());
        CharStreams.skipFully(reader, 1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/LineReader.java

        while (lines.peek() == null) {
          Java8Compatibility.clear(cbuf);
          // The default implementation of Reader#read(CharBuffer) allocates a
          // temporary char[], so we call Reader#read(char[], int, int) instead.
          int read = (reader != null) ? reader.read(buf, 0, buf.length) : readable.read(cbuf);
          if (read == -1) {
            lineBuf.finish();
            break;
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

        }
    
        @Nonnull
        default T read(@Nonnull Reader reader) throws XmlReaderException {
            return read(reader, true);
        }
    
        @Nonnull
        default T read(@Nonnull Reader reader, boolean strict) throws XmlReaderException {
            return read(XmlReaderRequest.builder().reader(reader).strict(strict).build());
        }
    
        @Nonnull
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            repository.setUrl("file://" + repoDir.toURI().getPath());
            repository.setReleases(policy);
            repository.setSnapshots(policy);
    
            return Arrays.asList(repositorySystem.buildArtifactRepository(repository));
        }
    
        protected ArtifactRepository getLocalRepository() throws Exception {
            File repoDir = new File(getBasedir(), "target/local-repo").getAbsoluteFile();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3ReaderEx.java

        @Override
        public Model read(Reader reader, boolean strict, InputSource source) throws IOException, XmlPullParserException {
            return super.read(reader, strict, source);
        }
    
        @Override
        public Model read(Reader reader, boolean strict) throws IOException, XmlPullParserException {
            return super.read(reader, strict);
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Reader.java

        }
    
        /**
         * @param reader a reader object.
         * @param strict a strict object.
         * @return PersistedToolchains
         * @throws IOException IOException if any.
         * @throws XmlPullParserException XmlPullParserException if
         *         any.
         * @see XmlStreamReader
         */
        public PersistedToolchains read(Reader reader, boolean strict) throws IOException, XmlPullParserException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat May 31 10:30:45 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java

        }
    
        public Settings read(Reader reader, boolean strict) throws IOException, XmlPullParserException {
            try {
                return new Settings(delegate.read(reader, strict, null));
            } catch (XMLStreamException e) {
                throw new XmlPullParserException(e.getMessage(), null, e);
            }
        }
    
        public Settings read(Reader reader) throws IOException, XmlPullParserException {
            try {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            return getRemoteRepositories();
        }
    
        protected ArtifactRepository getLocalRepository() throws InvalidRepositoryException {
            File repoDir = new File(getBasedir(), "target/local-repo").getAbsoluteFile();
    
            return mavenRepositorySystem.createLocalRepository(repoDir);
        }
    
        protected class ProjectBuilder {
            private MavenProject project;
    
            public ProjectBuilder(MavenProject project) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/PropertiesUtil.java

        }
    
        /**
         * Wraps exception handling for {@link Properties#load(Reader)}.
         * <p>
         * The input reader is not closed.
         * </p>
         *
         * @param props the property set (must not be {@literal null})
         * @param reader the input reader (must not be {@literal null})
         */
        public static void load(final Properties props, final Reader reader) {
            assertArgumentNotNull("props", props);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/CopyUtil.java

        }
    
        /**
         * Wraps the reader with a {@link BufferedReader} if necessary.
         *
         * @param reader the reader
         * @return the wrapped reader
         */
        protected static Reader wrap(final Reader reader) {
            if (reader instanceof BufferedReader) {
                return reader;
            }
            if (reader instanceof StringReader) {
                return reader;
            }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
Back to top