org.lastbamboo.common.sdp
Class HostNameParser
java.lang.Object
org.lastbamboo.common.sdp.ParserCore
org.lastbamboo.common.sdp.HostNameParser
public class HostNameParser
- extends ParserCore
Parser for host names.
- Version:
- JAIN-SIP-1.1
- Author:
- M. Ranganathan
This code is in the public domain.
IPv6 Support added by Emil Ivov (emil_ivov@yahoo.com)
Network Research Team (http://www-r2.u-strasbg.fr))
Louis Pasteur University - Strasbourg - France
Bug fixes for corner cases were contributed by Thomas Froment.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostNameParser
public HostNameParser(String hname)
HostNameParser
public HostNameParser(LexerCore lexer)
- The lexer is initialized with the buffer.
domainLabel
protected String domainLabel()
throws ParseException
- Throws:
ParseException
ipv6Reference
protected String ipv6Reference()
throws ParseException
- Throws:
ParseException
host
public Host host()
throws ParseException
- Throws:
ParseException
hostPort
public HostPort hostPort()
throws ParseException
- Throws:
ParseException
main
public static void main(String[] args)
throws ParseException
- Throws:
ParseException
Copyright © 2013 LittleShoot. All Rights Reserved.