Package org.jitterbit.integration.data.entity.document

Examples of org.jitterbit.integration.data.entity.document.TextDocumentValidator.run()


        TextDocument doc = new TextDocument("X");
        doc.setDelimiter(FieldDelimiter.COMMA);
        doc.setStructure(struct);
        ValidationMessageCollectorImpl collector = new ValidationMessageCollectorImpl(ValidationContext.EMPTY);
        TextDocumentValidator validator = new TextDocumentValidator(doc, collector);
        validator.run();
        assertSame(ValidationStatus.VALID, collector.result().status());
    }
   
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.