public Processor setInput(final File input) {
        if (!input.isAbsolute()) {
            throw new IllegalArgumentException("Input file path must be absolute: " + input);
        }
        if (!input.isFile()) {
            throw new IllegalArgumentException("Input file is not a file: " + input);
        }
        setInput(input.toURI());
        return this;
    }
public Processor setInput ( final File input ) { if ( ! input . isAbsolute ( ) ) { throw new IllegalArgumentException ( "Input file path must be absolute: " + input ) ; } if ( ! input . isFile ( ) ) { throw new IllegalArgumentException ( "Input file is not a file: " + input ) ; } setInput ( input . toURI ( ) ) ; return this ; }
Set input document.

@param input input document file
@return this Process object