01: /*
02: * URI.java
03: *
04: * Created on January 9, 2002, 11:26 AM
05: */
06:
07: package javax.sdp;
08:
09: import java.net.*;
10:
11: /** An URI represents the u= field within a SessionDescription.
12: *
13: * Please refer to IETF RFC 2327 for a description of SDP.
14: *
15: * @author deruelle
16: * @version 1.0
17: */
18: public interface URI extends Field {
19:
20: /** Returns the value.
21: * @throws SdpParseException
22: * @return the value
23: */
24: public URL get() throws SdpParseException;
25:
26: /** Sets the value.
27: * @param value the new information
28: * @throws SdpException if the parameter is null
29: */
30: public void set(URL value) throws SdpException;
31:
32: }
|