Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for input_stream (0.09 sec)

  1. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/merge/MavenToolchainMergerTest.java

            merger.merge(pt, null, null);
            merger.merge(null, pt, null);
        }
    
        @Test
        void testMergeJdk() throws Exception {
            try (InputStream isDominant = MavenToolchainMergerTest.class.getResourceAsStream("toolchains-jdks.xml");
                    InputStream isRecessive = MavenToolchainMergerTest.class.getResourceAsStream("toolchains-jdks.xml")) {
                PersistedToolchains dominant = read(isDominant);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker;
    
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.nio.file.Path;
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    
    import org.apache.maven.api.annotations.Nonnull;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java

                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        @Override
        public Settings read(InputStream input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (InputStream in = input) {
                InputSource source = (InputSource) options.get(InputSource.class.getName());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

            return new org.apache.maven.model.Model(model);
        }
    
        @Override
        public org.apache.maven.model.Model read(InputStream input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
            try (InputStream in = input) {
                org.apache.maven.api.model.Model model = read(null, in, null, options);
                return new org.apache.maven.model.Model(model);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.time.LocalDateTime;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteSource.java

        }
    
        @Override
        public InputStream openStream() throws IOException {
          return sliceStream(ByteSource.this.openStream());
        }
    
        @Override
        public InputStream openBufferedStream() throws IOException {
          return sliceStream(ByteSource.this.openBufferedStream());
        }
    
        private InputStream sliceStream(InputStream in) throws IOException {
          if (offset > 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  7. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java

         * @throws XmlPullParserException XmlPullParserException if
         * any.
         * @return Model
         */
        public Model read(InputStream in, boolean strict) throws IOException, XmlPullParserException {
            return read(in, strict, null);
        } // -- Model read( InputStream, boolean )
    
        /**
         * Method read.
         *
         * @param in a in object.
         * @throws IOException IOException if any.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ByteSourceTest.java

        // Open a stream to the slice.
        InputStream in = slice.openStream();
    
        // Append 10 more bytes to the source.
        source.append(newPreFilledByteArray(5, 10));
    
        // The stream reports no bytes... importantly, it doesn't read the byte at index 5 when it
        // should be reading the byte at index 10.
        // We could use a custom InputStream instead to make the read start at index 10, but since this
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        public Metadata read(InputStream input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (InputStream in = input) {
                return new Metadata(new MetadataStaxReader().read(in, isStrict(options)));
            } catch (XMLStreamException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

            URL url = request.getURL();
            Reader reader = request.getReader();
            InputStream inputStream = request.getInputStream();
            if (path == null && url == null && reader == null && inputStream == null) {
                throw new IllegalArgumentException("path, url, reader or inputStream must be non null");
            }
            try {
                PluginDescriptorStaxReader xml = new PluginDescriptorStaxReader();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top