Search in sources :

Example 1 with GlobalObjectId

use of com.zimbra.cs.util.tnef.mapi.GlobalObjectId in project zm-mailbox by Zimbra.

the class SchedulingViewOfTnef method getGlobalObjectIdType.

private GlobalObjectId getGlobalObjectIdType(MapiPropertyId mpi) {
    GlobalObjectId gid = null;
    RawInputStream ris;
    try {
        ris = mpi.getRawInputStreamValue(this);
        if (ris != null) {
            gid = new GlobalObjectId(ris);
        }
    } catch (IOException e) {
        sLog.debug("Problem getting value of MAPI property " + mpi.toString() + " from TNEF", e);
    }
    return gid;
}
Also used : RawInputStream(net.freeutils.tnef.RawInputStream) GlobalObjectId(com.zimbra.cs.util.tnef.mapi.GlobalObjectId) IOException(java.io.IOException)

Aggregations

GlobalObjectId (com.zimbra.cs.util.tnef.mapi.GlobalObjectId)1 IOException (java.io.IOException)1 RawInputStream (net.freeutils.tnef.RawInputStream)1