Package ca.eandb.jmist.framework.loader.openexr.attribute

Examples of ca.eandb.jmist.framework.loader.openexr.attribute.AttributeFactory


      throw new IOException("Unsupported version");
    }

    source.flush();

    AttributeFactory factory = AttributeFactory.getInstance();

    while (true) {
      String name = StreamUtil.readNullTerminatedString(source);
      if (name.isEmpty()) {
        break;
      }

      String type = StreamUtil.readNullTerminatedString(source);
      int size = source.readInt();

      source.flush();
      Attribute attribute = factory.create(type, size, source);

      if (attribute != null) {
        attributes.put(name, attribute);
      }
View Full Code Here

TOP

Related Classes of ca.eandb.jmist.framework.loader.openexr.attribute.AttributeFactory

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.