- java.lang.Object
-
- javax.management.loading.MLetContent
-
public class MLetContent extends Object
This class represents the contents of theMLETtag. It can be consulted by a subclass ofMLetthat overrides theMLet.checkmethod.- Since:
- 1.6
-
-
Constructor Summary
Constructors Constructor and Description MLetContent(URL url, Map<String,String> attributes, List<String> types, List<String> values)Creates anMLetinstance initialized with attributes read from anMLETtag in an MLet text file.
-
Method Summary
Methods Modifier and Type Method and Description Map<String,String>getAttributes()Gets the attributes of theMLETtag.StringgetCode()Gets the value of theCODEattribute of theMLETtag.URLgetCodeBase()Gets the code base URL.URLgetDocumentBase()Gets the MLet text file's base URL.StringgetJarFiles()Gets the list of.jarfiles specified by theARCHIVEattribute of theMLETtag.StringgetName()Gets the value of theNAMEattribute of theMLETtag.List<String>getParameterTypes()Gets the list of values of theTYPEattribute in each nested <PARAM> tag within theMLETtag.List<String>getParameterValues()Gets the list of values of theVALUEattribute in each nested <PARAM> tag within theMLETtag.StringgetSerializedObject()Gets the value of theOBJECTattribute of theMLETtag.StringgetVersion()Gets the value of theVERSIONattribute of theMLETtag.
-
-
-
Constructor Detail
-
MLetContent
public MLetContent(URL url, Map<String,String> attributes, List<String> types, List<String> values)
Creates anMLetinstance initialized with attributes read from anMLETtag in an MLet text file.- Parameters:
url- The URL of the MLet text file containing theMLETtag.attributes- A map of the attributes of theMLETtag. The keys in this map are the attribute names in lowercase, for examplecodebase. 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 theMLETtag. The keys in the returned map are the attribute names in lowercase, for examplecodebase. The values are the associated attribute values.- Returns:
- A map of the attributes of the
MLETtag 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.jarfiles specified by theARCHIVEattribute of theMLETtag.- Returns:
- A comma-separated list of
.jarfile names.
-
getCode
public String getCode()
Gets the value of theCODEattribute of theMLETtag.- Returns:
- The value of the
CODEattribute of theMLETtag.
-
getSerializedObject
public String getSerializedObject()
Gets the value of theOBJECTattribute of theMLETtag.- Returns:
- The value of the
OBJECTattribute of theMLETtag.
-
getName
public String getName()
Gets the value of theNAMEattribute of theMLETtag.- Returns:
- The value of the
NAMEattribute of theMLETtag.
-
getVersion
public String getVersion()
Gets the value of theVERSIONattribute of theMLETtag.- Returns:
- The value of the
VERSIONattribute of theMLETtag.
-
getParameterTypes
public List<String> getParameterTypes()
Gets the list of values of theTYPEattribute in each nested <PARAM> tag within theMLETtag.- Returns:
- the list of types.
-
-
Deutsche Übersetzung
Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.
Vielen Dank im Voraus.
Dokument erstellt 11/06/2005, zuletzt geändert 04/03/2020
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-rf-javax/management/loading/mletcontent.html
Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.
Referenzen
Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor dieser Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.