Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for getInputStream (0.21 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/smb1/smb1/TestLocking.java

                        } else if (r < 0.667) {
                            d.listFiles();
    //                      System.out.print('l');
                        } else if (r < 1.0) {
                            InputStream in = f.getInputStream();
                            while (in.read(buf) > 0) {
    //                          System.out.print('r');
                            }
                            in.close();
                        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  8. maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

        @Test
        void testGetInputStream() throws Exception {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    
            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: Mon Feb 26 17:04:44 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntries.kt

        JarFile(jar, false).use { jarFile ->
            jarFile.entries().asSequence().filter {
                isGradlePluginPropertiesFile(it)
            }.map { pluginEntry ->
                val pluginProperties = jarFile.getInputStream(pluginEntry).use { Properties().apply { load(it) } }
                val id = pluginEntry.name.substringAfterLast("/").substringBeforeLast(".properties")
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                    logger.debug("Thumbnail Command: {}", cmdList);
                }
    
                final Process p = pb.start();
    
                final InputStreamThread ist = new InputStreamThread(p.getInputStream(), Charset.defaultCharset(), 0, s -> {
                    if (logger.isDebugEnabled()) {
                        logger.debug(s);
                    }
                });
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top