Mercurial > repos > shellac > sam_consensus_v3
view env/lib/python3.9/site-packages/schema_salad/java/main_utils/Validator.java @ 0:4f3585e2f14b draft default tip
"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author | shellac |
---|---|
date | Mon, 22 Mar 2021 18:12:50 +0000 |
parents | |
children |
line wrap: on
line source
package ${package}.utils; import java.io.File; public class Validator { public static void main(final String[] args) throws Exception { if(args.length != 1) { throw new Exception("No argument supplied to validate."); } // TODO: allow URLs and such. final File uri = new File(args[0]); RootLoader.loadDocument(uri); } }