Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for wrap (0.24 sec)

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

                }
                return copyInternal((FileInputStream) in, wrap(out));
            }
            if (out instanceof FileOutputStream) {
                return copyInternal(wrap(in), (FileOutputStream) out);
            }
            return copyInternal(wrap(in), wrap(out));
        }
    
        // ////////////////////////////////////////////////////////////////
        // from InputStream to Writer
    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)
  2. src/main/java/org/codelibs/core/io/FileUtil.java

        }
    
        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);
            }
        }
    
        public static void deleteInBackground(final File file) {
            if (file != null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top