@MediaClass(uuid1=218169601, uuid2=257, uuid3=12800, uuid4={6,14,43,52,2,6,1,1}, definedName="NetworkLocator", description="The NetworkLocator class provides information to help find a file containing essence.", symbol="NetworkLocator") public class NetworkLocatorImpl extends LocatorImpl implements NetworkLocator, Serializable, Cloneable
Implements a representation of information to help find a file containing essence, using a uniform resource identifier (URI). The current URI specification is RFC 3986.
ObjectClassPropertyID| Constructor and Description |
|---|
NetworkLocatorImpl() |
NetworkLocatorImpl(String urlString)
Creates and initializes a new network locator, which provides information to help find a
file containing essence.
|
| Modifier and Type | Method and Description |
|---|---|
NetworkLocator |
clone()
Create a cloned copy of this interchange object.
|
String |
getURL()
|
String |
getURLPersist() |
static String |
initializeURL() |
void |
setURL(String urlString)
|
void |
setURLPersist(String urlString) |
appendXMLChildren, getComment, getNumberOfFiles, getPath, getTapeOffset, setNumberOfFiles, setPath, setTapeOffsetaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getLinkedGenerationIDString, getObjectClass, getPersistentID, getPersistentIndex, hashCode, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setLinkedGenerationIDString, setObjectClass, setPersistentID, setPersistentIndex, toStringaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndexpublic NetworkLocatorImpl()
public NetworkLocatorImpl(@AAFString String urlString) throws NullPointerException, IllegalArgumentException
Creates and initializes a new network locator, which provides information to help find a file containing essence.
urlString - Absolute Uniform Resource Locator (URL) complying with
RFC 1738 or
relative Uniform Resource Identifier (URI) complying with
RFC 2396 for file containing the
essence. If it is a relative URI, the base URI is determined from the URI of the AAF persistent
unit itself.NullPointerException - Location URL is null.IllegalArgumentException - The given URI is not syntactically valid.@MediaProperty(uuid1=16908545, uuid2=256, uuid3=0, uuid4={6,14,43,52,1,1,1,1}, definedName="URL", aliases="URLString", typeName="UTF16String", optional=false, uniqueIdentifier=false, pid=16385, symbol="URL") public String getURL()
NetworkLocatorReturns an absolute uniform resource locator (URL) complying with RFC 1738 or relative Uniform Resource Identifier (URI) complying with RFC 2396 for a file containing the essence. If it is a relative URI, the base URI is determined from the URI of the AAF file itself.
Note that a valid URL or URI uses a constrained character set and uses the '/'
character as the path separator.
getURL in interface NetworkLocatorLocator.getPath()@MediaPropertySetter(value="URL") public void setURL(String urlString) throws NullPointerException, IllegalArgumentException
NetworkLocatorSets an absolute uniform resource locator (URL) complying with RFC 1738 or relative Uniform Resource Identifier (URI) complying with RFC 2396 for a file containing the essence. If it is a relative URI, the base URI is determined from the URI of the AAF file itself.
Note that a valid URL or URI uses a constrained character set and uses the '/'
character as the path separator.
setURL in interface NetworkLocatorurlString - URL property of this locator.NullPointerException - The given locator is null and the property is required.IllegalArgumentException - The given locator did not parse as a valid URL.public static final String initializeURL()
public NetworkLocator clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface InterchangeObjectclone in interface Locatorclone in interface NetworkLocatorclone in class LocatorImplpublic String getURLPersist()
public void setURLPersist(String urlString)
(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.