Package net.sf.joafip.file.service.stream

Examples of net.sf.joafip.file.service.stream.FileOutputStreamMapped


  public static void main(final String[] args) {
    try {
      final File file = new File("runtime/3gb.bin");
      file.delete();
      final MainWrite3GByteFileOutputStreamMapped main = new MainWrite3GByteFileOutputStreamMapped();
      final OutputStream outputStream = new FileOutputStreamMapped(file,
          1024 * 1024);
      System.out.println("write duration " + main.write(outputStream)
          + " mS");// NOPMD
    } catch (Exception exception) {
      exception.printStackTrace();// NOPMD
View Full Code Here

TOP

Related Classes of net.sf.joafip.file.service.stream.FileOutputStreamMapped

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.