Package org.fcrepo.client.utility.validate.remote

Examples of org.fcrepo.client.utility.validate.remote.RemoteObjectSource


    /**
     * Open the connection to the Fedora server.
     */
    private static RemoteObjectSource openObjectSource(ServiceInfo serviceInfo) {
        try {
            return new RemoteObjectSource(serviceInfo);
        } catch (ServiceException e) {
            throw new IllegalStateException("Failed to initialize "
                    + "the ValidatorProcess: ", e);
        } catch (IOException e) {
            throw new IllegalStateException("Failed to initialize "
View Full Code Here


            // Parse the parameters.
            ValidatorProcessParameters parms =
                    new ValidatorProcessParameters(args);

            // Create the tools we will need.
            RemoteObjectSource objectSource =
                    openObjectSource(parms.getServiceInfo());
            ValidationResults results =
                    new SimpleValidationResults(parms.getVerbose());

            // Get the list of PIDs.
View Full Code Here

TOP

Related Classes of org.fcrepo.client.utility.validate.remote.RemoteObjectSource

Copyright © 2018 www.massapicom. 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.