Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for fos (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java

            File tempFile = null;
            FileOutputStream fos = null;
            try (final InputStream is = responseData.getResponseBody()) {
                tempFile = File.createTempFile("crawler-", ".tmp");
                fos = new FileOutputStream(tempFile);
                CopyUtil.copy(is, fos);
            } catch (final Exception e) {
                CloseableUtil.closeQuietly(fos); // for deleting file
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            FileOutputStream fos = null;
            try {
                fos = new FileOutputStream(propertiesFile);
                properties.store(fos, propertiesFile.getName());
            } catch (final IOException e) {
                throw new FileAccessException("ECL0112", new Object[] { propertiesFile.getAbsolutePath() }, e);
            } finally {
                if (fos != null) {
                    try {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

            }
            URL website = new URL(urlString);
            ReadableByteChannel rbc;
            rbc = Channels.newChannel(website.openStream());
            FileOutputStream fos = new FileOutputStream(destination);
            fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);
            fos.close();
            rbc.close();
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

            File tempFile = null;
            LhaFile lhaFile = null;
            try {
                tempFile = File.createTempFile("crawler-", ".lzh");
                try (FileOutputStream fos = new FileOutputStream(tempFile)) {
                    CopyUtil.copy(in, fos);
                }
    
                lhaFile = new LhaFile(tempFile);
                @SuppressWarnings("unchecked")
                final Enumeration<LhaHeader> entries = lhaFile.entries();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/FileUtil.java

                throw new IORuntimeException(e);
            }
        }
    
        public static void writeBytes(final String pathname, final byte[] bytes) {
            try (FileOutputStream fos = OutputStreamUtil.create(new File(pathname))) {
                ChannelUtil.write(fos.getChannel(), ByteBuffer.wrap(bytes));
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbCopyUtil.java

                int attrs = src.getAttributes();
    
                try ( SmbFileHandleImpl dfd = openCopyTargetFile(dest, attrs, false);
                      SmbFileOutputStream fos = new SmbFileOutputStream(
                          dest,
                          dh,
                          dfd,
                          SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                                    new Exception("Build failed due to log statements with a higher severity than allowed. "
                                            + "Fix the logged issues or remove flag --fail-on-severity (-fos)."));
                }
    
                logResult(event.getSession());
    
                logStats(event.getSession());
    
                infoLine('-');
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

            public static final String QUIET = "q";
            public static final String VERBOSE = "X";
    
            public static final String SHOW_ERRORS = "e";
            public static final String FAIL_ON_SEVERITY = "fos";
            public static final String NON_INTERACTIVE = "non-interactive";
            public static final String BATCH_MODE = "B";
            public static final String FORCE_INTERACTIVE = "force-interactive";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

        public static final String ALTERNATE_INSTALLATION_TOOLCHAINS = "it";
    
        public static final String FAIL_FAST = "ff";
    
        public static final String FAIL_ON_SEVERITY = "fos";
    
        public static final String FAIL_AT_END = "fae";
    
        public static final String FAIL_NEVER = "fn";
    
        public static final String RESUME = "r";
    
        public static final String RESUME_FROM = "rf";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * ClosingFuture<Integer> rowsFuture2 =
       *     queryFuture.transformAsync(
       *         (closer, result) -> {
       *           FileOutputStream fos = closer.eventuallyClose(openOutputFile(), closingExecutor);
       *           return ClosingFuture.from(result.writeRowsToOutputStreamFuture(fos));
       *      },
       *      executor);
       *
       * // Result.getRowsFuture() returns a ListenableFuture (no new closeables are created).
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
Back to top