Package org.w3c.util

Examples of org.w3c.util.EmptyEnumeration


  ZipFile zip = null;
  Hashtable lookuped = new Hashtable(20);
  try {
      zip = new ZipFile(zipfile);
  } catch (Exception ex) {
      return new EmptyEnumeration();
  }
  Enumeration entries    = zip.entries();
  ZipEntry    entry      = null;
  String      entry_name = null;
  int         idx        = -1;
View Full Code Here


    /**
     * Get an enumeration of the states names.
     * @return an Enumeration
     */
    public Enumeration getStateNames() {
  return ((state != null) ? state.keys() : new EmptyEnumeration());
    }
View Full Code Here

     * objects containing the names of the context's initialization parameters
     * @see ServletConfig#getInitParameter
     */
    public Enumeration getInitParameterNames() {
  // @@ not implemented @@
  return new EmptyEnumeration();
    }
View Full Code Here

     */

    public Enumeration getParameterNames() {
  prepareQueryParameters();
  return ((queryParameters == null)
    ? new EmptyEnumeration()
    : queryParameters.keys());
    }
View Full Code Here

TOP

Related Classes of org.w3c.util.EmptyEnumeration

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.