Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for openInputStream (0.08 sec)

  1. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

            try {
                FileObject inputFile = processingEnv.getFiler().getResource(StandardLocation.CLASS_OUTPUT, "", path);
                try (BufferedReader reader = new BufferedReader(new InputStreamReader(inputFile.openInputStream()))) {
                    String line;
                    StringBuilder contentBuilder = new StringBuilder();
                    while ((line = reader.readLine()) != null) {
                        if (!line.trim().startsWith("#")) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 16 06:25:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/SessionTest.java

                    int before = t.getInflightRequests();
                    if ( before > 0 ) {
                        log.warn("Have existing inflight requests");
                    }
                    try ( InputStream is = f.openInputStream() ) {
    
                    }
                    catch ( SmbException e ) {
                        // expected
                    }
                    assertEquals(before, t.getInflightRequests());
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Closer.java

     *
     * <p>This class is intended to be used in the following pattern:
     *
     * <pre>{@code
     * Closer closer = Closer.create();
     * try {
     *   InputStream in = closer.register(openInputStream());
     *   OutputStream out = closer.register(openOutputStream());
     *   // do stuff
     * } catch (Throwable e) {
     *   // ensure that any checked exception types other than IOException that could be thrown are
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileOperationsTest.java

                        assertTrue(f.exists());
    
                        try ( SmbResource e2 = new SmbFile(t, "test") ) {
                            assertTrue(e2.exists());
                            try ( InputStream is = e2.openInputStream() ) {
                                ReadWriteTest.verifyRandom(bufSize, length, is);
                            }
                        }
                    }
                    finally {
                        d1.delete();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/Closer.java

     *
     * <p>This class is intended to be used in the following pattern:
     *
     * <pre>{@code
     * Closer closer = Closer.create();
     * try {
     *   InputStream in = closer.register(openInputStream());
     *   OutputStream out = closer.register(openOutputStream());
     *   // do stuff
     * } catch (Throwable e) {
     *   // ensure that any checked exception types other than IOException that could be thrown are
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

        @Override
        public SmbFileInputStream openInputStream () throws SmbException {
            return new SmbFileInputStream(this);
        }
    
    
        @Override
        public SmbFileInputStream openInputStream ( int sharing ) throws SmbException {
            return openInputStream(0, O_RDONLY, sharing);
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top