Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for getInputStream (0.45 sec)

  1. src/main/java/jcifs/smb1/netbios/NbtSocket.java

            connect();
        }
    
        public NbtAddress getNbtAddress() {
            return address;
        }
        public InputStream getInputStream() throws IOException {
            return new SocketInputStream( super.getInputStream() );
        }
        public OutputStream getOutputStream() throws IOException {
            return new SocketOutputStream( super.getOutputStream() );
        }
        public int getPort() {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface XmlReaderRequest {
    
        @Nullable
        Path getPath();
    
        @Nullable
        URL getURL();
    
        @Nullable
        InputStream getInputStream();
    
        @Nullable
        Reader getReader();
    
        @Nullable
        Transformer getTransformer();
    
        boolean isStrict();
    
        @Nullable
        String getModelId();
    
        @Nullable
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            @Override
            public byte[] getFileData() throws IOException {
                return fileItem.get();
            }
    
            @Override
            public InputStream getInputStream() throws IOException {
                return fileItem.getInputStream();
            }
    
            @Override
            public String getContentType() {
                return fileItem.getContentType();
            }
    
            @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileOperationsTest.java

                        assertTrue(f.exists());
                        assertEquals(f.length(), t.length());
                        assertEquals(f.getAttributes(), t.getAttributes());
    
                        try ( InputStream is = t.getInputStream() ) {
                            ReadWriteTest.verifyRandom(bufSize, length, is);
                        }
                    }
                    finally {
                        d1.delete();
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

         * @return 指定されたZipファイルエントリの内容を読み込むための入力ストリーム
         */
        public static InputStream getInputStream(final ZipFile file, final ZipEntry entry) {
            assertArgumentNotNull("file", file);
            assertArgumentNotNull("entry", entry);
    
            try {
                return file.getInputStream(entry);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/jar/JarFileUtil.java

         * @return 指定されたJarファイルエントリの内容を読み込むための入力ストリーム
         */
        public static InputStream getInputStream(final JarFile file, final ZipEntry entry) {
            assertArgumentNotNull("file", file);
            assertArgumentNotNull("entry", entry);
    
            try {
                return file.getInputStream(entry);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/io/ContentCache.java

            this.file = file;
        }
    
        @Override
        public void close() throws IOException {
            if (file != null) {
                Files.delete(file.toPath());
            }
        }
    
        public InputStream getInputStream() throws IOException {
            if (file != null) {
                return new FileInputStream(file);
            }
            return new ByteArrayInputStream(data);
        }
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 1.6K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/util/JobProcess.java

        }
    
        public JobProcess(final Process process, final int bufferSize, final Consumer<String> outputCallback) {
            this.process = process;
            inputStreamThread = new InputStreamThread(process.getInputStream(), Constants.CHARSET_UTF_8, bufferSize, outputCallback);
        }
    
        public Process getProcess() {
            return process;
        }
    
        public InputStreamThread getInputStreamThread() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  9. maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java

    class StringSourceTest {
        @Test
        void testGetInputStream() throws Exception {
            StringSource source = new StringSource("Hello World!");
    
            try (InputStream is = source.getInputStream();
                    Scanner scanner = new Scanner(is)) {
                assertEquals("Hello World!", scanner.nextLine());
            }
        }
    
        @Test
        void testGetLocation() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/ReadWriteTest.java

                    // this should truncate
                    try ( OutputStream os = f.openOutputStream() ) {
                        writeRandom(4096, 1024, os);
                    }
    
                    try ( InputStream is = f.getInputStream() ) {
                        verifyRandom(4096, 1024, true, is);
                    }
                }
                finally {
                    f.delete();
                }
            }
        }
    
    
        @Test
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13.2K bytes
    - Viewed (0)
Back to top