Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,413 for reader (0.1 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsReader.java

         */
        Settings read(File input, Map<String, ?> options) throws IOException, SettingsParseException;
    
        /**
         * Reads the settings from the specified character reader. The reader will be automatically closed before the method
         * returns.
         *
         * @param input The reader to deserialize the settings from, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsReader.java

         */
        PersistedToolchains read(File input, Map<String, ?> options) throws IOException, ToolchainsParseException;
    
        /**
         * Reads the toolchains from the specified character reader. The reader will be automatically closed before the
         * method returns.
         *
         * @param input The reader to deserialize the toolchains from, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

        }
    
        public interface ReaderSupplier {
            Reader open() throws IOException;
        }
    
        /**
         * @deprecated use {@link #build(ReaderSupplier)}
         */
        @Deprecated
        public PluginDescriptor build(Reader reader) throws PlexusConfigurationException {
            return build(reader, null);
        }
    
        /**
         * @deprecated use {@link #build(ReaderSupplier, String)}
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

    import org.jline.consoleui.prompt.builder.ListPromptBuilder;
    import org.jline.consoleui.prompt.builder.PromptBuilder;
    import org.jline.reader.Candidate;
    import org.jline.reader.Completer;
    import org.jline.reader.LineReader;
    import org.jline.reader.ParsedLine;
    import org.jline.utils.Colors;
    
    import static org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker.BAD_OPERATION;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

                Model model = read(in, path, options);
    
                model.setPomPath(path);
    
                return model;
            }
        }
    
        @Override
        public Model read(Reader input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (Reader in = input) {
                return read(in, null, options);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

            }
            try {
                PluginDescriptorStaxReader xml = new PluginDescriptorStaxReader();
                xml.setAddDefaultEntities(request.isAddDefaultEntities());
                if (inputStream != null) {
                    return xml.read(inputStream, request.isStrict());
                } else if (reader != null) {
                    return xml.read(reader, request.isStrict());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

        /**
         * Test method for
         * {@link org.codelibs.core.io.PropertiesUtil#load(java.util.Properties, java.io.Reader)}
         * .
         */
        @Test
        public void testLoadPropertiesReaderReaderNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[reader] is null."));
            final InputStreamReader inputStreamReader = null;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt

          return hex.decodeHex().toResponseBody(mediaType)
        }
    
        fun exhaust(reader: Reader): String {
          val builder = StringBuilder()
          val buf = CharArray(10)
          var read: Int
          while (reader.read(buf).also { read = it } != -1) {
            builder.appendRange(buf, 0, read)
          }
          return builder.toString()
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

        body.writeTo(bodyContent)
    
        val reader = MultipartReader(bodyContent, "boundary")
    
        val quickPart = reader.nextPart()!!
        assertThat(quickPart.headers).isEqualTo(
          headersOf(
            "Content-Type",
            "text/plain; charset=utf-8",
          ),
        )
        assertThat(quickPart.body.readUtf8()).isEqualTo("Quick")
    
        val brownPart = reader.nextPart()!!
        assertThat(brownPart.headers).isEqualTo(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. internal/ioutil/discard.go

    var Discard io.Writer = discard{}
    
    // discard is /dev/null for Golang.
    type discard struct{}
    
    func (discard) Write(p []byte) (int, error) {
    	return len(p), nil
    }
    
    // DiscardReader discarded reader
    func DiscardReader(r io.Reader) {
    	Copy(Discard, r)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 06 22:26:08 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top