javax.management.loading

Class MLetContent


  • public class MLetContent
    extends Object
    This class represents the contents of the MLET tag. It can be consulted by a subclass of MLet that overrides the MLet.check method.
    Since:
    1.6
    • Constructor Detail

      • MLetContent

        public MLetContent(URL url,
                   Map<String,String> attributes,
                   List<String> types,
                   List<String> values)
        Creates an MLet instance initialized with attributes read from an MLET tag in an MLet text file.
        Parameters:
        url - The URL of the MLet text file containing the MLET tag.
        attributes - A map of the attributes of the MLET tag. The keys in this map are the attribute names in lowercase, for example codebase. The values are the associated attribute values.
        types - A list of the TYPE attributes that appeared in nested <PARAM> tags.
        values - A list of the VALUE attributes that appeared in nested <PARAM> tags.
    • Method Detail

      • getAttributes

        public Map<String,String> getAttributes()
        Gets the attributes of the MLET tag. The keys in the returned map are the attribute names in lowercase, for example codebase. The values are the associated attribute values.
        Returns:
        A map of the attributes of the MLET tag and their values.
      • getDocumentBase

        public URL getDocumentBase()
        Gets the MLet text file's base URL.
        Returns:
        The MLet text file's base URL.
      • getCodeBase

        public URL getCodeBase()
        Gets the code base URL.
        Returns:
        The code base URL.
      • getJarFiles

        public String getJarFiles()
        Gets the list of .jar files specified by the ARCHIVE attribute of the MLET tag.
        Returns:
        A comma-separated list of .jar file names.
      • getCode

        public String getCode()
        Gets the value of the CODE attribute of the MLET tag.
        Returns:
        The value of the CODE attribute of the MLET tag.
      • getSerializedObject

        public String getSerializedObject()
        Gets the value of the OBJECT attribute of the MLET tag.
        Returns:
        The value of the OBJECT attribute of the MLET tag.
      • getName

        public String getName()
        Gets the value of the NAME attribute of the MLET tag.
        Returns:
        The value of the NAME attribute of the MLET tag.
      • getVersion

        public String getVersion()
        Gets the value of the VERSION attribute of the MLET tag.
        Returns:
        The value of the VERSION attribute of the MLET tag.
      • getParameterTypes

        public List<String> getParameterTypes()
        Gets the list of values of the TYPE attribute in each nested <PARAM> tag within the MLET tag.
        Returns:
        the list of types.
      • getParameterValues

        public List<String> getParameterValues()
        Gets the list of values of the VALUE attribute in each nested <PARAM> tag within the MLET tag.
        Returns:
        the list of values.

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Document créé le 11/06/2005, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-javax/management/loading/MLetContent.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut