Package com.lightcrafts.image.metadata

Examples of com.lightcrafts.image.metadata.CoreDirectory


    public String getLabel(ImageMetadata meta) {
        return LOCALE.get("FileTimeLabel");
    }

    public String getValue(ImageMetadata meta) {
        final CoreDirectory dir = (CoreDirectory) meta.getDirectoryFor(clazz);
        if (dir != null) {
            final Date date = dir.getFileDateTime();
            if (date != null) {
                return TextUtil.dateFormat( Format, date );
            }
        }
        return "";
View Full Code Here


    public String getLabel(ImageMetadata meta) {
        return LOCALE.get("CaptureTimeLabel");
    }

    public String getValue(ImageMetadata meta) {
        final CoreDirectory dir = (CoreDirectory) meta.getDirectoryFor(clazz);
        if (dir != null) {
            final Date date = dir.getCaptureDateTime();
            if (date != null) {
                return TextUtil.dateFormat( Format, date );
            }
        }
        return "";
View Full Code Here

TOP

Related Classes of com.lightcrafts.image.metadata.CoreDirectory

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.