Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for channel (0.78 sec)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

            final FileInputStream is = InputStreamUtil.create(file);
            try {
                final FileChannel channel = is.getChannel();
                final ByteBuffer buffer = ByteBuffer.allocate((int) ChannelUtil.size(channel));
                ChannelUtil.read(channel, buffer);
                return buffer.array();
            } finally {
                CloseableUtil.close(is);
            }
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/nio/ChannelUtil.java

         * @param channel
         *            ファイルチャネル。{@literal null}であってはいけません
         * @param mode
         *            モード。{@literal null}であってはいけません
         * @return ファイルチャネルをメモリにマップした{@link ByteBuffer}
         */
        public static ByteBuffer map(final FileChannel channel, final MapMode mode) {
            assertArgumentNotNull("channel", channel);
            assertArgumentNotNull("mode", mode);
    
            try {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/CopyUtil.java

            assertArgumentNotNull("out", out);
    
            final FileOutputStream os = OutputStreamUtil.create(out);
            try {
                final FileChannel channel = os.getChannel();
                final ByteBuffer buffer = ByteBuffer.wrap(in);
                return ChannelUtil.write(channel, buffer);
            } finally {
                CloseableUtil.close(os);
            }
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 52.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/timer/TimeoutTask.java

         * キャンセルされているかどうかを返します。
         *
         * @return キャンセルされているか
         */
        public boolean isCanceled() {
            return status == CANCELED;
        }
    
        /**
         * キャンセルします。
         */
        public void cancel() {
            status = CANCELED;
        }
    
        /**
         * 止まっているかどうか返します。
         *
         * @return 止まっているかどうか
         */
        public boolean isStopped() {
            return status == STOPPED;
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        public static final String LABELS_crawling_info_delete_all_confirmation = "{labels.crawling_info_delete_all_confirmation}";
    
        /** The key of the message: Cancel */
        public static final String LABELS_crawling_info_delete_all_cancel = "{labels.crawling_info_delete_all_cancel}";
    
        /** The key of the message: Thread Dump */
        public static final String LABELS_crawling_info_thread_dump = "{labels.crawling_info_thread_dump}";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 146.4K bytes
    - Viewed (0)
Back to top