当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 jmx API Documentation 英文版文档
MLetParser (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档
org.jboss.mx.loading
Class MLetParser
java.lang.Object
org.jboss.mx.loading.MLetParser
- All Implemented Interfaces:
- MBeanFileParser
- public class MLetParser
- extends Object
- implements MBeanFileParser
Parses an MLet text file confirming to spec format.
- Version:
- $Revision: 1.10 $
- Author:
- Juha Lindfors.
- See Also:
javax.management.MLet
,
javax.management.MBeanFileParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MLetParser
public MLetParser()
parseMBeanFile
public Set parseMBeanFile(String url)
throws ParseException,
MalformedURLException
- Reads an MLet text file from a given URL.
- Specified by:
parseMBeanFile
in interface MBeanFileParser
- Parameters:
url
- URL to MLet text file
- Returns:
- set containing MBeanElement objects representing
the parsed MBean entries
- Throws:
ParseException
- if there was error in reading the MLet text file
MalformedURLException
- if the url argument cannot be used to
construct a valid URL.- See Also:
MBeanElement
parseMBeanFile
public Set parseMBeanFile(URL url)
throws ParseException
- Reads an MLet text file from a given URL.
- Specified by:
parseMBeanFile
in interface MBeanFileParser
- Parameters:
url
- URL to MLet text file
- Returns:
- set containing MBeanElement objects representing the parsed
MBean entries
- Throws:
ParseException
- if there was an error in reading the MLet text file- See Also:
MBeanElement
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.