Construct a new PropertyResource with the specified name.
Parameters: p - the project to use. Parameters: n - the String name of this PropertyResource (Ant property name/key).
Get an InputStream for the Resource.
an InputStream containing this Resource's content. throws: IOException - if unable to provide the content of thisResource as a stream. throws: UnsupportedOperationException - if InputStreams are notsupported for this Resource type.
Get an OutputStream for the Resource.
an OutputStream to which content can be written. throws: IOException - if unable to provide the content of thisResource as a stream. throws: UnsupportedOperationException - if OutputStreams are notsupported for this Resource type.
Get the size of this Resource.
the size, as a long, 0 if the Resource does not exist (forcompatibility with java.io.File), or UNKNOWN_SIZE if not known.