@Deprecated(since="20", forRemoval=true) public class MLetContent extends Object
MLET
tag. It can be consulted by a subclass of MLet
that overrides the MLet.check
method.Constructor | Description |
---|---|
MLetContent |
Deprecated, for removal: This API element is subject to removal in a future version. Creates an MLet instance initialized with attributes read from an MLET tag in an MLet text file. |
Modifier and Type | Method | Description |
---|---|---|
Map |
getAttributes() |
Deprecated, for removal: This API element is subject to removal in a future version. Gets the attributes of the MLET tag. |
String |
getCode() |
Deprecated, for removal: This API element is subject to removal in a future version. Gets the value of the CODE attribute of the MLET tag. |
URL |
getCodeBase() |
Deprecated, for removal: This API element is subject to removal in a future version. Gets the code base URL. |
URL |
getDocumentBase() |
Deprecated, for removal: This API element is subject to removal in a future version. Gets the MLet text file's base URL. |
String |
getJarFiles() |
Deprecated, for removal: This API element is subject to removal in a future version. Gets the list of .jar files specified by the ARCHIVE attribute of the MLET tag. |
String |
getName() |
Deprecated, for removal: This API element is subject to removal in a future version. Gets the value of the NAME attribute of the MLET tag. |
List |
getParameterTypes() |
Deprecated, for removal: This API element is subject to removal in a future version. Gets the list of values of the TYPE attribute in each nested <PARAM> tag within the MLET tag. |
List |
getParameterValues() |
Deprecated, for removal: This API element is subject to removal in a future version. Gets the list of values of the VALUE attribute in each nested <PARAM> tag within the MLET tag. |
String |
getSerializedObject() |
Deprecated, for removal: This API element is subject to removal in a future version. Gets the value of the OBJECT attribute of the MLET tag. |
String |
getVersion() |
Deprecated, for removal: This API element is subject to removal in a future version. Gets the value of the VERSION attribute of the MLET tag. |
public MLetContent(URL url, Map<String,String> attributes, List<String> types, List<String> values)
MLet
instance initialized with attributes read from an MLET
tag in an MLet text file.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.public Map<String,String> getAttributes()
MLET
tag. The keys in the returned map are the attribute names in lowercase, for example codebase
. The values are the associated attribute values.MLET
tag and their values.public URL getDocumentBase()
public URL getCodeBase()
public String getJarFiles()
.jar
files specified by the ARCHIVE
attribute of the MLET
tag..jar
file names.public String getCode()
CODE
attribute of the MLET
tag.CODE
attribute of the MLET
tag.public String getSerializedObject()
OBJECT
attribute of the MLET
tag.OBJECT
attribute of the MLET
tag.public String getName()
NAME
attribute of the MLET
tag.NAME
attribute of the MLET
tag.public String getVersion()
VERSION
attribute of the MLET
tag.VERSION
attribute of the MLET
tag.public List<String> getParameterTypes()
TYPE
attribute in each nested <PARAM> tag within the MLET
tag.public List<String> getParameterValues()
VALUE
attribute in each nested <PARAM> tag within the MLET
tag.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.management/javax/management/loading/MLetContent.html