站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v6.0, Java 2 SDK 英文文档

Uses of Interface java.util.Enumeration (Java Platform SE 6) - JDK 5 Documentation v6.0, Java 2 SDK 英文文档


Java™ Platform
Standard Ed. 6

Uses of Interface
java.util.Enumeration

Packages that use Enumeration
java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. 
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.beans Contains classes related to developing beans -- components based on the JavaBeansTM architecture. 
java.io Provides for system input and output through data streams, serialization and the file system. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.net Provides the classes for implementing networking applications. 
java.security Provides the classes and interfaces for the security framework. 
java.security.acl The classes and interfaces in this package have been superseded by classes in the java.security package. 
java.sql Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
java.util.concurrent Utility classes commonly useful in concurrent programming. 
java.util.jar Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file. 
java.util.logging Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities. 
java.util.zip Provides classes for reading and writing the standard ZIP and GZIP file formats. 
javax.activation   
javax.management.loading Provides the classes which implement advanced dynamic loading. 
javax.naming Provides the classes and interfaces for accessing naming services. 
javax.naming.ldap Provides support for LDAPv3 extended operations and controls. 
javax.net.ssl Provides classes for the secure socket package. 
javax.security.sasl Contains class and interfaces for supporting SASL. 
javax.sql.rowset.spi The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.table Provides classes and interfaces for dealing with javax.swing.JTable
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
javax.swing.text.html Provides the class HTMLEditorKit and supporting classes for creating HTML text editors. 
javax.swing.text.html.parser Provides the default HTML parser, along with support classes. 
javax.swing.tree Provides classes and interfaces for dealing with javax.swing.JTree
org.xml.sax.helpers This package contains "helper" classes, including support for bootstrapping SAX-based applications. 
 

Uses of Enumeration in java.applet
 

Methods in java.applet that return Enumeration
 Enumeration<Applet> AppletContext.getApplets()
          Finds all the applets in the document represented by this applet context.
 

Uses of Enumeration in java.awt
 

Methods in java.awt that return Enumeration
 Enumeration<MenuShortcut> MenuBar.shortcuts()
          Gets an enumeration of all menu shortcuts this menu bar is managing.
 

Uses of Enumeration in java.beans
 

Methods in java.beans that return Enumeration
 Enumeration<String> FeatureDescriptor.attributeNames()
          Gets an enumeration of the locale-independent names of this feature.
 

Uses of Enumeration in java.io
 

Constructors in java.io with parameters of type Enumeration
SequenceInputStream(Enumeration<? extends InputStream> e)
          Initializes a newly created SequenceInputStream by remembering the argument, which must be an Enumeration that produces objects whose run-time type is InputStream.
 

Uses of Enumeration in java.lang
 

Methods in java.lang that return Enumeration
protected  Enumeration<URL> ClassLoader.findResources(String name)
          Returns an enumeration of URL objects representing all the resources with the given name.
 Enumeration<URL> ClassLoader.getResources(String name)
          Finds all the resources with the given name.
static Enumeration<URL> ClassLoader.getSystemResources(String name)
          Finds all resources of the specified name from the search path used to load classes.
 

Uses of Enumeration in java.net
 

Methods in java.net that return Enumeration
 Enumeration<URL> URLClassLoader.findResources(String name)
          Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name.
 Enumeration<InetAddress> NetworkInterface.getInetAddresses()
          Convenience method to return an Enumeration with all or a subset of the InetAddresses bound to this network interface.
static Enumeration<NetworkInterface> NetworkInterface.getNetworkInterfaces()
          Returns all the interfaces on this machine.
 Enumeration<NetworkInterface> NetworkInterface.getSubInterfaces()
          Get an Enumeration with all the subinterfaces (also known as virtual interfaces) attached to this network interface.
 

Uses of Enumeration in java.security
 

Methods in java.security that return Enumeration
 Enumeration<String> KeyStore.aliases()
          Lists all the alias names of this keystore.
 Enumeration<Permission> Permissions.elements()
          Returns an enumeration of all the Permission objects in all the PermissionCollections in this Permissions object.
 Enumeration<Object> Provider.elements()
           
abstract  Enumeration<Permission> PermissionCollection.elements()
          Returns an enumeration of all the Permission objects in the collection.
abstract  Enumeration<String> KeyStoreSpi.engineAliases()
          Lists all the alias names of this keystore.
abstract  Enumeration<Identity> IdentityScope.identities()
          Deprecated. Returns an enumeration of all identities in this identity scope.
 Enumeration<Object> Provider.keys()
           
 

Uses of Enumeration in java.security.acl
 

Methods in java.security.acl that return Enumeration
 Enumeration<AclEntry> Acl.entries()
          Returns an enumeration of the entries in this ACL.
 Enumeration<Permission> Acl.getPermissions(Principal user)
          Returns an enumeration for the set of allowed permissions for the specified principal (representing an entity such as an individual or a group).
 Enumeration<? extends Principal> Group.members()
          Returns an enumeration of the members in the group.
 Enumeration<Permission> AclEntry.permissions()
          Returns an enumeration of the permissions in this ACL entry.
 

Uses of Enumeration in java.sql
 

Methods in java.sql that return Enumeration
static Enumeration<Driver> DriverManager.getDrivers()
          Retrieves an Enumeration with all of the currently loaded JDBC drivers to which the current caller has access.
 

Uses of Enumeration in java.util
 

Classes in java.util that implement Enumeration
 class StringTokenizer
          The string tokenizer class allows an application to break a string into tokens.
 

Methods in java.util that return Enumeration
 Enumeration<E> Vector.elements()
          Returns an enumeration of the components of this vector.
abstract  Enumeration<V> Dictionary.elements()
          Returns an enumeration of the values in this dictionary.
 Enumeration<V> Hashtable.elements()
          Returns an enumeration of the values in this hashtable.
static
<T> Enumeration<T>
Collections.enumeration(Collection<T> c)
          Returns an enumeration over the specified collection.
 Enumeration<String> PropertyResourceBundle.getKeys()
          Returns an Enumeration of the keys contained in this ResourceBundle and its parent bundles.
 Enumeration<String> ListResourceBundle.getKeys()
          Returns an Enumeration of the keys contained in this ResourceBundle and its parent bundles.
abstract  Enumeration<String> ResourceBundle.getKeys()
          Returns an enumeration of the keys.
abstract  Enumeration<K> Dictionary.keys()
          Returns an enumeration of the keys in this dictionary.
 Enumeration<K> Hashtable.keys()
          Returns an enumeration of the keys in this hashtable.
 Enumeration<?> Properties.propertyNames()
          Returns an enumeration of all the keys in this property list, including distinct keys in the default property list if a key of the same name has not already been found from the main properties list.
 

Methods in java.util with parameters of type Enumeration
static
<T> ArrayList<T>
Collections.list(Enumeration<T> e)
          Returns an array list containing the elements returned by the specified enumeration in the order they are returned by the enumeration.
 

Uses of Enumeration in java.util.concurrent
 

Methods in java.util.concurrent that return Enumeration
 Enumeration<V> ConcurrentHashMap.elements()
          Returns an enumeration of the values in this table.
 Enumeration<K> ConcurrentHashMap.keys()
          Returns an enumeration of the keys in this table.
 

Uses of Enumeration in java.util.jar
 

Methods in java.util.jar that return Enumeration
 Enumeration<JarEntry> JarFile.entries()
          Returns an enumeration of the zip file entries.
 

Uses of Enumeration in java.util.logging
 

Methods in java.util.logging that return Enumeration
 Enumeration<String> LogManager.getLoggerNames()
          Get an enumeration of known logger names.
 

Uses of Enumeration in java.util.zip
 

Methods in java.util.zip that return Enumeration
 Enumeration<? extends ZipEntry> ZipFile.entries()
          Returns an enumeration of the ZIP file entries.
 

Uses of Enumeration in javax.activation
 

Methods in javax.activation that return Enumeration
 Enumeration MimeTypeParameterList.getNames()
          Retrieve an enumeration of all the names in this list.
 

Uses of Enumeration in javax.management.loading
 

Methods in javax.management.loading that return Enumeration
 Enumeration<URL> MLetMBean.getResources(String name)
          Finds all the resources with the given name.
 

Uses of Enumeration in javax.naming
 

Subinterfaces of Enumeration in javax.naming
 interface NamingEnumeration<T>
          This interface is for enumerating lists returned by methods in the javax.naming and javax.naming.directory packages.
 

Methods in javax.naming that return Enumeration
 Enumeration<String> CompoundName.getAll()
          Retrieves the components of this compound name as an enumeration of strings.
 Enumeration<String> CompositeName.getAll()
          Retrieves the components of this composite name as an enumeration of strings.
 Enumeration<RefAddr> Reference.getAll()
          Retrieves an enumeration of the addresses in this reference.
 Enumeration<String> Name.getAll()
          Retrieves the components of this name as an enumeration of strings.
 

Constructors in javax.naming with parameters of type Enumeration
CompositeName(Enumeration<String> comps)
          Constructs a new composite name instance using the components specified by 'comps'.
CompoundName(Enumeration<String> comps, Properties syntax)
          Constructs a new compound name instance using the components specified in comps and syntax.
 

Uses of Enumeration in javax.naming.ldap
 

Methods in javax.naming.ldap that return Enumeration
 Enumeration<String> LdapName.getAll()
          Retrieves the components of this name as an enumeration of strings.
 

Uses of Enumeration in javax.net.ssl
 

Methods in javax.net.ssl that return Enumeration
 Enumeration SSLSessionContext.getIds()
          Returns an Enumeration of all session id's grouped under this SSLSessionContext.
 

Uses of Enumeration in javax.security.sasl
 

Methods in javax.security.sasl that return Enumeration
static Enumeration<SaslClientFactory> Sasl.getSaslClientFactories()
          Gets an enumeration of known factories for producing SaslClient.
static Enumeration<SaslServerFactory> Sasl.getSaslServerFactories()
          Gets an enumeration of known factories for producing SaslServer.
 

Uses of Enumeration in javax.sql.rowset.spi
 

Methods in javax.sql.rowset.spi that return Enumeration
static Enumeration<SyncProvider> SyncFactory.getRegisteredProviders()
          Returns an Enumeration of currently registered synchronization providers.
 

Uses of Enumeration in javax.swing
 

Methods in javax.swing that return Enumeration
 Enumeration JTree.DynamicUtilTreeNode.children()
          Subclassed to load the children, if necessary.
 Enumeration<?> DefaultListModel.elements()
          Returns an enumeration of the components of this list.
protected  Enumeration<TreePath> JTree.getDescendantToggledPaths(TreePath parent)
          Returns an Enumeration of TreePaths that have been expanded that are descendants of parent.
 Enumeration<AbstractButton> ButtonGroup.getElements()
          Returns all the buttons that are participating in this group.
 Enumeration<TreePath> JTree.getExpandedDescendants(TreePath parent)
          Returns an Enumeration of the descendants of the path parent that are currently expanded.
 

Methods in javax.swing with parameters of type Enumeration
protected  void JTree.removeDescendantToggledPaths(Enumeration<TreePath> toRemove)
          Removes any descendants of the TreePaths in toRemove that have been expanded.
 

Uses of Enumeration in javax.swing.table
 

Methods in javax.swing.table that return Enumeration
 Enumeration<TableColumn> DefaultTableColumnModel.getColumns()
          Returns an Enumeration of all the columns in the model.
 Enumeration<TableColumn> TableColumnModel.getColumns()
          Returns an Enumeration of all the columns in the model.
 

Uses of Enumeration in javax.swing.text
 

Methods in javax.swing.text that return Enumeration
abstract  Enumeration AbstractDocument.AbstractElement.children()
          Returns the children of the receiver as an Enumeration.
 Enumeration AbstractDocument.BranchElement.children()
          Returns the children of the receiver as an Enumeration.
 Enumeration AbstractDocument.LeafElement.children()
          Returns the children of the receiver as an Enumeration.
 Enumeration<?> AbstractDocument.AbstractElement.getAttributeNames()
          Gets the names of all attributes.
 Enumeration<?> StyleContext.SmallAttributeSet.getAttributeNames()
          Gets the names of all attributes.
 Enumeration<?> StyleContext.NamedStyle.getAttributeNames()
          Gets the names of all attributes.
 Enumeration<?> SimpleAttributeSet.getAttributeNames()
          Gets the names of the attributes in the set.
 Enumeration<?> AttributeSet.getAttributeNames()
          Returns an enumeration over the names of the attributes that are defined locally in the set.
 Enumeration<?> DefaultStyledDocument.getStyleNames()
          Fetches the list of of style names.
 Enumeration<?> StyleContext.getStyleNames()
          Fetches the names of the styles defined.
 

Methods in javax.swing.text with parameters of type Enumeration
 AttributeSet AbstractDocument.AttributeContext.removeAttributes(AttributeSet old, Enumeration<?> names)
          Removes a set of attributes for the element.
 AttributeSet StyleContext.removeAttributes(AttributeSet old, Enumeration<?> names)
          Removes a set of attributes for the element.
 void AbstractDocument.AbstractElement.removeAttributes(Enumeration<?> names)
          Removes a set of attributes for the element.
 void StyleContext.NamedStyle.removeAttributes(Enumeration<?> names)
          Removes a set of attributes for the element.
 void MutableAttributeSet.removeAttributes(Enumeration<?> names)
          Removes an attribute set with the given names.
 void SimpleAttributeSet.removeAttributes(Enumeration<?> names)
          Removes a set of attributes from the list.
 

Uses of Enumeration in javax.swing.text.html
 

Methods in javax.swing.text.html with parameters of type Enumeration
 AttributeSet StyleSheet.removeAttributes(AttributeSet old, Enumeration<?> names)
          Removes a set of attributes for the element.
 

Uses of Enumeration in javax.swing.text.html.parser
 

Methods in javax.swing.text.html.parser that return Enumeration
 Enumeration<?> AttributeList.getValues()
           
 

Uses of Enumeration in javax.swing.tree
 

Fields in javax.swing.tree declared as Enumeration
static Enumeration<TreeNode> DefaultMutableTreeNode.EMPTY_ENUMERATION
          An enumeration that is always empty.
 

Methods in javax.swing.tree that return Enumeration
 Enumeration DefaultMutableTreeNode.breadthFirstEnumeration()
          Creates and returns an enumeration that traverses the subtree rooted at this node in breadth-first order.
 Enumeration DefaultMutableTreeNode.children()
          Creates and returns a forward-order enumeration of this node's children.
 Enumeration TreeNode.children()
          Returns the children of the receiver as an Enumeration.
 Enumeration DefaultMutableTreeNode.depthFirstEnumeration()
          Creates and returns an enumeration that traverses the subtree rooted at this node in depth-first order.
 Enumeration<TreePath> VariableHeightLayoutCache.getVisiblePathsFrom(TreePath path)
          Returns an Enumerator that increments over the visible paths starting at the passed in location.
 Enumeration<TreePath> FixedHeightLayoutCache.getVisiblePathsFrom(TreePath path)
          Returns an Enumerator that increments over the visible paths starting at the passed in location.
abstract  Enumeration<TreePath> AbstractLayoutCache.getVisiblePathsFrom(TreePath path)
          Returns an Enumerator that increments over the visible paths starting at the passed in location.
 Enumeration DefaultMutableTreeNode.pathFromAncestorEnumeration(TreeNode ancestor)
          Creates and returns an enumeration that follows the path from ancestor to this node.
 Enumeration DefaultMutableTreeNode.postorderEnumeration()
          Creates and returns an enumeration that traverses the subtree rooted at this node in postorder.
 Enumeration DefaultMutableTreeNode.preorderEnumeration()
          Creates and returns an enumeration that traverses the subtree rooted at this node in preorder.
 

Uses of Enumeration in org.xml.sax.helpers
 

Methods in org.xml.sax.helpers that return Enumeration
 Enumeration NamespaceSupport.getDeclaredPrefixes()
          Return an enumeration of all prefixes declared in this context.
 Enumeration NamespaceSupport.getPrefixes()
          Return an enumeration of all prefixes whose declarations are active in the current context.
 Enumeration NamespaceSupport.getPrefixes(String uri)
          Return an enumeration of all prefixes for a given URI whose declarations are active in the current context.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.