Package com.pd4ml.pdf.xfdf.internal
Class FlagsUtil
- java.lang.Object
-
- com.pd4ml.pdf.xfdf.internal.FlagsUtil
-
public final class FlagsUtil extends java.lang.ObjectConverts between a PDF annotation's/Fflags integer (ISO 32000-1 Table 165) and XFDF'sflagsattribute, a comma-separated list of the flag names that are set (e.g."print,nozoom,norotate").
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intparseFlags(java.lang.String flagsAttribute)0ifflagsAttributeisnull/blank or names no recognized flag.static java.lang.StringtoFlagsString(int flags)nullifflagsis 0 (no flags set -- XFDF real-world producers simply omit the attribute in that case).
-
-
-
Method Detail
-
toFlagsString
public static java.lang.String toFlagsString(int flags)
nullifflagsis 0 (no flags set -- XFDF real-world producers simply omit the attribute in that case).
-
parseFlags
public static int parseFlags(java.lang.String flagsAttribute)
0ifflagsAttributeisnull/blank or names no recognized flag.
-
-