Package net.sf.joafip.store.entity.objectio

Examples of net.sf.joafip.store.entity.objectio.ObjectInputStreamState


  public void initialize(final ObjectAndPersistInfo objectAndPersistInfo,
      final byte[] binary, final int offset) {// NOPMD
    // ASSERTX
    assert objectAndPersistInfo != null : "object and its class information must be defined";
    stateStack.addFirst(new ObjectInputStreamState(this.binary,
        this.offset, this.objectAndPersistInfo));
    this.objectAndPersistInfo = objectAndPersistInfo;
    this.binary = binary;
    this.offset = offset;
  }
View Full Code Here


  @Override
  public void clear() throws ObjectIOException {
    // ASSERTX
    assert objectAndPersistInfo != null : "object and its class information must be defined";
    objectAndPersistInfo.clearReadObjectByInputStream();
    final ObjectInputStreamState state = stateStack.pollFirst();
    objectAndPersistInfo = state.getObjectAndPersistInfo();
    binary = state.getBinary();
    offset = state.getOffset();
  }
View Full Code Here

TOP

Related Classes of net.sf.joafip.store.entity.objectio.ObjectInputStreamState

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.