Package com.lightcrafts.image.metadata.values

Examples of com.lightcrafts.image.metadata.values.StringMetaValue


        String path = file.getParent();
        if (path == null) {
            path = "";
        }
        ImageMetaValue pathValue = new StringMetaValue(path);
        core.putValue(CORE_DIR_NAME, pathValue);

        String name = file.getName();
        ImageMetaValue nameValue = new StringMetaValue(name);
        core.putValue(CORE_FILE_NAME, nameValue);

        long length = file.length();
        ImageMetaValue lengthValue = new UnsignedLongMetaValue(length);
        core.putValue(CORE_FILE_SIZE, lengthValue);
View Full Code Here

TOP

Related Classes of com.lightcrafts.image.metadata.values.StringMetaValue

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.