package jPDFWebSamples.cli; public class JobInfo { public String mLicenseKey; public String mInputFile; public String mOutputFile; public int mPageIndex = -1; public void validate() throws CLIException { if (mInputFile == null) { throw new CLIException("Missing input file."); } if (mOutputFile == null) { throw new CLIException("Missing output file."); } } }