Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 361 for inputstream (0.05 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java

            accessResultData.setData("xyz".getBytes());
    
            final Object obj = binaryTransformer.getData(accessResultData);
            assertNotNull(obj);
            assertTrue(obj instanceof InputStream);
            assertEquals("xyz", new String(IOUtils.toByteArray((InputStream) obj)));
        }
    
        public void test_getData_wrongName() throws Exception {
            final AccessResultDataImpl accessResultData = new AccessResultDataImpl();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jConfigurationFactory.java

                    URL resource = resources.nextElement();
                    try {
                        InputStream is = resource.openStream();
                        final Properties properties = new Properties();
                        if (is != null) {
                            try (InputStream in = is) {
                                properties.load(in);
                            }
                        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.InputStream;
    
    import org.codelibs.core.io.FileUtil;
    
    /**
     * A custom InputStream that wraps a temporary file. This class ensures that the temporary file
     * is deleted when the stream is closed.
     */
    public class TemporaryFileInputStream extends InputStream {
    
        private final File tempFile;
    
        private final FileInputStream fileInputStream;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java

            }
        }
    
        public Settings read(InputStream in, boolean strict) throws IOException, XmlPullParserException {
            try {
                return new Settings(delegate.read(in, strict, null));
            } catch (XMLStreamException e) {
                throw new XmlPullParserException(e.getMessage(), null, e);
            }
        }
    
        public Settings read(InputStream in) 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)
  5. src/main/java/jcifs/SmbPipeHandle.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    import java.io.InputStream;
    import java.io.OutputStream;
    
    /**
     * Handle to an open named pipe
     *
     * @author mbechler
     *
     */
    public interface SmbPipeHandle extends AutoCloseable {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/ExtensionDescriptorBuilderTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import java.io.ByteArrayInputStream;
    import java.io.InputStream;
    import java.nio.charset.StandardCharsets;
    import java.util.Arrays;
    
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.extractor.impl;
    
    import java.io.InputStream;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.io.CloseableUtil;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbResourceTest.java

                when(mockResource.openInputStream(anyInt(), anyInt(), anyInt())).thenReturn(mockInputStream);
    
                // When
                InputStream is1 = mockResource.openInputStream();
                InputStream is2 = mockResource.openInputStream(1);
                InputStream is3 = mockResource.openInputStream(1, 2, 3);
    
                // Then
                assertNotNull(is1, "Default input stream should not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java

    import javax.inject.Named;
    import javax.xml.stream.XMLInputFactory;
    import javax.xml.stream.XMLStreamException;
    import javax.xml.stream.XMLStreamReader;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    
    /**
     * @deprecated use {@code org.apache.maven.api.services.model.RootLocator} instead
     */
    @Named
    @Deprecated(since = "4.0.0")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/RandomAmountInputStream.java

    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Returns a random portion of the requested bytes on each call. */
    @NullUnmarked
    class RandomAmountInputStream extends FilterInputStream {
      private final Random random;
    
      public RandomAmountInputStream(InputStream in, Random random) {
        super(checkNotNull(in));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top