Class resolver


  • public class resolver
    extends java.lang.Object
    A simple command-line resolver.

    This class implements a simple command-line resolver. It takes some parameters and passes them through the resolver, printing the result.

    Usage: resolver [options] keyword

    Where options are:

    -c catalogfile
    Load a particular catalog file.
    -n name
    Sets the name.
    -p publicId
    Sets the public identifier.
    -s systemId
    Sets the system identifier.
    -a
    Absolute system URI.
    -u uri
    Sets the URI.
    -d integer
    Set the debug level.

    And keyword is one of: doctype, document, entity, notation, public, system, or uri.

    The process ends with error-level 1, if there errors.

    Version:
    1.0
    Author:
    Norman Walsh Norman.Walsh@Sun.COM
    See Also:
    ResolvingParser
    • Constructor Summary

      Constructors 
      Constructor Description
      resolver()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      The main entry point
      static void usage()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • resolver

        public resolver()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.FileNotFoundException,
                                java.io.IOException
        The main entry point
        Throws:
        java.io.FileNotFoundException
        java.io.IOException
      • usage

        public static void usage()