public final class Sound extends RecordContainer
(保存有关声音信息的容器。它包含:)
_children| Modifier | Constructor and Description | 
|---|---|
protected  |  
          Sound(byte[] source, int start, int len) 
           
             Set things up, and find our more interesting children 
            (做好准备,找到我们更有趣的孩子) 
              |  
         
| Modifier and Type | Method and Description | 
|---|---|
long |  
          getRecordType() 
           
             Returns the type (held as a little endian in bytes 3 and 4) that this class handles. 
            (返回此类处理的类型(以字节 3 和 4 中的小端序保存)。) 
              |  
         
byte[] |  
          getSoundData() 
           
             The sound data 
            (声音数据) 
              |  
         
java.lang.String |  
          getSoundName() 
           
             Name of the sound (e.g. 
            (声音的名称(例如) 
              |  
         
java.lang.String |  
          getSoundType() 
           
             Type of the sound (e.g. 
            (声音的类型(例如) 
              |  
         
void |  
          writeOut(java.io.OutputStream out) 
           
             Have the contents printer out into an OutputStream, used when writing a file back out to disk. 
            (将内容打印机输出到 OutputStream 中,在将文件写回磁盘时使用。) 
              |  
         
addChildAfter, addChildBefore, appendChildRecord, findFirstOfType, getChildRecords, getGenericProperties, handleParentAwareRecords, isAnAtom, removeChild, setChildRecord, writeOutbuildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndianprotected Sound(byte[] source,
                int start,
                int len) 
         source - the source data as a byte array. 
           (source - 作为字节数组的源数据。) 
          start - the start offset into the byte array. 
           (start - 字节数组的起始偏移量。) 
          len - the length of the slice in the byte array. 
           (len - 字节数组中切片的长度。) 
          public long getRecordType()
getRecordType in class  
           Record 
           (类 Record 中的 getRecordType) 
          public void writeOut(java.io.OutputStream out)
              throws java.io.IOException 
         public java.lang.String getSoundName()
public java.lang.String getSoundType()
public byte[] getSoundData()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.