Package net.fusejna.StructFuseFileInfo

Examples of net.fusejna.StructFuseFileInfo.FileInfoWrapper


      final StructFuseFileInfo info)
  {
    final long bufSize = size.longValue();
    final long readOffset = offset.longValue();
    final ByteBuffer buf = buffer.getByteBuffer(0, bufSize);
    final FileInfoWrapper wrapper = new FileInfoWrapper(path, info);
    final int result = read(path, buf, bufSize, readOffset, wrapper);
    wrapper.write();
    return result;
  }
View Full Code Here


  }

  @FuseMethod
  final int _release(final String path, final StructFuseFileInfo info)
  {
    return release(path, new FileInfoWrapper(path, info));
  }
View Full Code Here

  }

  @FuseMethod
  final int _releasedir(final String path, final StructFuseFileInfo info)
  {
    final FileInfoWrapper wrapper = new FileInfoWrapper(path, info);
    final int result = releasedir(path, wrapper);
    wrapper.write();
    return result;
  }
View Full Code Here

      final StructFuseFileInfo info)
  {
    final long bufSize = size.longValue();
    final long writeOffset = offset.longValue();
    final ByteBuffer buf = buffer.getByteBuffer(0, bufSize);
    final FileInfoWrapper wrapper = new FileInfoWrapper(path, info);
    final int result = write(path, buf, bufSize, writeOffset, wrapper);
    wrapper.write();
    return result;
  }
View Full Code Here

TOP

Related Classes of net.fusejna.StructFuseFileInfo.FileInfoWrapper

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.