|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractAsfTagImageField
is an abstract class for representing tag
fields containing image data.Tag
and introduces some more useful
functionality to be implemented.newChild
from its parent and makes it a child of
this node by adding it to the end of this node's child array.
AudioFileModificationListener
TreeModelEvent
posted after the tree changes.
ContainerType.getOrdered()
AsfHeader
it contains multiple other ASF objects (chunks).InputStream
and creates an AsfExtendedHeader
object.ContainerType.EXTENDED_CONTENT
/
ContainerType.METADATA_LIBRARY_OBJECT
AsfHeader
object if successful.Iterator
with
TagField
objects and returns them by casting to
AsfTagField
.MetadataDescriptor
and provides access
to it.isLeaf
method figures
out if a node is a leaf node.
true
,
otherwise "0".List
exists for the given GUID
, in ChunkContainer.chunkTable
.ContainerType.checkConstraints(String, byte[], int, int, int)
and
actually throws the exception if there is one.
value
is matching the GUID
specification of ASF streams.
tag
which are defined to
be common by jaudiotagger.
AudioFileIO.read(File)
method instead !.
AudioFileIO.read(File)
method instead !.
AudioFileModificationListener
.StreamBitratePropertiesChunk.addBitrateRecord(int,long)
an Long
object is appended, which represents the average bitrate.
StreamChunkReader
,
which is configured to only manage audio streams.
StreamChunkReader
,
which is configured to only manage audio streams.
StreamChunkReader
,
which is configured to only manage audio streams.
StreamChunkReader
,
which is configured to only manage audio streams.
StreamChunkReader
,
which is configured to only manage audio streams.
StreamChunkReader
,
which is configured to only manage audio streams.
StreamChunkReader
,
which is configured to only manage audio streams.
StreamChunkReader
,
which is configured to only manage audio streams.
StreamChunkReader
,
which is configured to only manage audio streams.
StreamChunkReader
,
which is configured to only manage audio streams.
StreamChunkReader
,
which is configured to only manage audio streams.
StreamChunkReader
,
which is configured to only manage audio streams.
StreamChunkReader
,
which is configured to only manage audio streams.
ID3v1TagField.common
in order to reflect if the tag id is a commonly used one.
VorbisCommentTagField.common
in order to reflect if the tag id is a commonly used one.
RuntimeException
if the requirements aren't met.
Enumeration
.
Chunk
objects, and is
itself an ASF object (chunk).StreamChunk
) may only be inserted once.Chunk
object, finally skips the
remaining chunk bytes.Chunk
s ascending by their Position.ChunkModifier
implementation is meant to remove selected chunks.Chunk
objects to their GUID
.
AudioFileIO.write(this)
method.
true
, the id of the current encapsulated tag field is
specified as a common field.
true
, the id of the current encapsulated tag field is
specified as a common field.
TagField
with TagField.isCommon()
true
.
ContainerType.METADATA_LIBRARY_OBJECT
allows the most variations of data, as
well as no size limitation (if it can be stored within a DWORD amount of
bytes).true
, the stream data is encrypted.
srd
to dst
at the
specified offset.
src
to dst
at the specified location.
src
to dst
at the specified location.
source
to
destination
.source
to
destination
.AsfTag.isCopyingFields()
is true
, Creates a copy of
source
, if its not empty-TagField
objects can only be transformed into
binary fields using their TagField.getRawContent()
method.FilterInputStream
counts each read byte.CountingInputStream.getReadCount()
one can determine how many
bytes have been read, by this classes read and skip methods (mark and reset
are also taken into account).OutputStream
and delegates
the write calls.CountingOutputstream.getCount()
.ChunkContainerReader.read(GUID, InputStream, long)
in order
to create the resulting object.
ChunkContainerReader.read(GUID, InputStream, long)
in order
to create the resulting object.
ChunkContainerReader.read(GUID, InputStream, long)
in order
to create the resulting object.
MetadataContainerFactory.createContainer(ContainerType)
for each given container type.
AsfTagCoverField
from given artwork
source
and applies the modifications provided by
the given modifiers
, and puts it to dest
.length
.RandomAccessFile
;Tag
and fills it with the contents of the
given AsfHeader
.DefaultMutableTreeNode
is a general-purpose node in a tree data
structure.true
each chunk type will only be read once.equals
.Integer
)Integer
)AsfFieldKey.fieldName
to the field key.
String
)String
)original
has been processed.temporary
is of zero size
or the original will be deleted and replaced by temporary.file
is about to be modified.
AbstractTag
and it currenlty used to provide basic support to audio formats with only read tagging
ability such as Real or Wav files TagTextField
for use with
"ISO-8859-1" strings.toString
for all it's objects and appends
them without any newline characters.
MetadataDescriptor.writeInto(OutputStream,ContainerType)
is used
byteCount
and insert the bytes of value
(starting from lowset byte)
into it.
parent
at index index
in the parent's
child array.
aChild
, which must be a child of this node.
TreeNode
at index
childIndex
.
aChild
, which must be a child of this node.
parent
.
TreeNode
s the receiver
contains.
getPath
at the locations specified by
getChildIndices
.
Chunk.getChunkEnd()
instead.
ChunkContainer.getChunks()
.
AudioStreamChunk.compressionFormat
and returns a
String with its hex value and if known a textual note on what coded it
represents.
VideoStreamChunk.getCodecId()
, as a String, where each byte has been
converted to a char
.
GUID.KNOWN_GUIDS
which
matches the value of the given GUID.
String.getBytes()
.FileHeader.getDuration()
from 100ns steps to normal
seconds.
TagField
objects whose "id"
is the specified one.TagField
objects whose "id"
is the specified one.TagField
objects whose "id"
is the specified one.TagField
objects whose "id"
is the specified one.GUID.KNOWN_GUIDS
which is equal to the
given guidData
and returns its description.
ID3v1
tag for this dataType.
ID3v2
tag for this datatype.
node
in the receivers children.
AudioStreamChunk.getAverageBytesPerSec()
and
calculates the kbps out of it, by simply multiplying by 8 and dividing by
1000.
LanguageList
):
FooListener
s
upon this model.
toString
for all it's objects and appends
them.
file
arguement refers to.
identifier
identifier
TreeNode
of the receiver.
FileHeader.getDuration()
from 100ns steps to normal
seconds with a fractional part taking milliseconds.guid
.
aNode
.
EncodingChunk.addString(String)
.
String
s which were addid
due EncryptionChunk.addString(String)
.
Tag
contains any useful meta-data, like
artist, album, title, etc.
long
.
value
.value
.GUID.GUID(int[])
and sets the optional
description.
GUID.GUID(int[])
and sets the optional
description.
GUID.guidData
field.
true
if the descriptor field can store GUID
values.
true
, if at least one of the contained
fields is a common field (TagField.isCommon()
).
true
due to a registered
chunk reader, all InputStream
objects passed to
ChunkContainerReader.read(GUID, InputStream, long)
must support mark/reset.
"-1"
if not determined yet.
Id3v1
tag
Id3v2
tag
ID3v11Tag.ID3v11Tag(RandomAccessFile,String)
instead
ID3v1Tag.ID3v1Tag(RandomAccessFile,String)
instead
ID3v22Frame.ID3v22Frame(ByteBuffer,String)
instead
ID3v22Tag.ID3v22Tag(ByteBuffer,String)
instead
ID3v23Frame.ID3v23Frame(ByteBuffer,String)
instead
ID3v23Tag.ID3v23Tag(ByteBuffer,String)
instead
ID3v24Frame.ID3v24Frame(ByteBuffer,String)
instead
ID3v24Tag.ID3v24Tag(ByteBuffer,String)
instead
newChild
from its present parent (if it has a
parent), sets the child's parent to this node, and then adds the child
to this node's child array at index childIndex
.
child
to the receiver at index
.
InvalidTagException
is thrown if a parse error occurs while
a tag is being read from a file.guid
.
guid
.
guid
.
guid
.
false
.
false
.
false
.
null
or just contains
whitespace characters.
true
, the AsfTag.copyFrom(TagField)
method creates a
new AsfTagField
instance and copies the content from the source.AsfTag.addField(TagField)
and
AsfTag.setField(TagField)
.true
it is ensured that the AsfTag
instance
has its own copies of fields, which cannot be modified after assignment
(which could pass some checks), and it just stores AsfTagField
objects.AsfTag.getAsfFields()
can work.
aTreePath
is a
descendant of this
TreePath.
true
if it is not necessary to write the chunk into an ASF
file, since it contains no information.
true
if it is not necessary to write the chunk into an ASF
file, since it contains no information.
true
if node
is a leaf.
true
, if the audio file is encoded
with "Lossless".true
if this field can store multiple values.
anotherNode
is an ancestor of this node
-- if it is this node, this node's parent, or an ancestor of this
node's parent.
aNode
is a child of this node.
anotherNode
is a descendant of this node
-- if it is this node, one of this node's children, or a descendant of
one of this node's children.
aNode
is in the same tree
as this node.
anotherNode
is a sibling of (has the
same parent as) this node.
ChunkContainerReader.getReader(GUID)
won't return null
.GUID.guidData
) is
correctly filled.
true
, if the audio file is encoded
with "Variable Bitrate".ContainerType.getMaximumDataLength()
, and greater or equal to zero.true
if descriptor field can refer to a language.
CountingInputStream.mark(int)
has been called, the current value of
CountingInputStream.readCount
is stored, in order to reset it upon CountingInputStream.reset()
.
MetadataContainer
objects upon
specified container types.MetadataContainer
.ContainerType
at construction.Integer.MAX_VALUE
, this implementation does it (due to java
nature).ContainerType.METADATA_LIBRARY_OBJECT
.ContainerType.METADATA_LIBRARY_OBJECT
.null
, this listener is used to notify the listener
about modification events.destination.
.destination.
.destination.
.destination.
.AsfStreamer.copyChunk(GUID, InputStream, OutputStream)
, it only handles file
property chunks correctly.fileSizeDiff
value.
AudioFileModificationListener
wants to
prevent the "e;entagged audio library"e; from actually finishing its
operation.AudioFileModificationListener.fileOperationFinished(java.io.File)
.GUID
instances, which are allowed multiple times
within an ASF header.
true
if the container may store multiple values of the same
metadata descriptor specification (equality on name, language, and
stream).true
, the field will be stored repeatedly if occurs so in tags.
C5F8CBEA-5BAF-4877-8467-AA8C44FA4CCA
child
.
ancestor
to this node.
-1
a size value has to be compared against
ContainerType.maximumDataLength
because Long.MAX_VALUE
is exceeded.BigInteger.longValue()
representation.
MetadataContainer.descriptors
.ChunkContainer.prettyPrint(String)
however, additional
information can be injected below the Chunk.prettyPrint(String)
output and the listing of the contained chunks.GUID.getGUID()
RandomAccessFile
into an InputStream
.InputStream
functionality
on the given RandomAccessFile
by delegating calls.RandomAccessFile
into an OutputStream
.ChunkReader
should be aware if it fails.
BigInteger
.size
bytes from the stream.raf
and creates a wrapper.
null
is returned.
null
is returned.
null
is returned.
TreeNode
s upon which
this model depends.
TreeNode
s upon which
this model depends.
aChild
from this node's child array, giving it a
null parent.
index
from the receiver.
node
from the receiver.
AudioFileModificationListener
addTreeModelListener
.
HashMap
listing words to be replaced if found
AudioFileModificationListener
.ModificationHandler
to broadcast those events.imageURL
is not
blank.copyRight
is not
blank.AsfExtHeaderReader
, which is to be used, when an header
extension object is found.
value
as the
represented value of this object.
MetadataDescriptor.descriptorType
to
MetadataDescriptor.TYPE_GUID
ID3v1
tag for this dataType.
ID3v2
tag for this dataType.
LanguageList
).obj
argument.
newParent
but does not
change the parent's child array.
newParent
.
root
.
name
and
assings the string
value.
userObject
.
object
.
true
if descriptor field can refer to specific streams.
StreamBitratePropertiesChunk.addBitrateRecord(int,long)
an Integer
object is appended, which represents the stream-number.
AsfHeader
objects into
Tag
objects.Tag
.FieldKey
to
AsfFieldKey
.
FileHeader.timeEndPos
no Idea.
toString()
to this node's
user object, or null if this node has no user object.
JTree
.parent
ending in lastElement
.
length
.
path
to newValue
.
WriteableChunk
objects.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |