Package de.jarnbjo.ogg
Class LogicalOggStreamImpl
java.lang.Object
de.jarnbjo.ogg.LogicalOggStreamImpl
- All Implemented Interfaces:
LogicalOggStream
-
Field Summary
Fields inherited from interface de.jarnbjo.ogg.LogicalOggStream
FORMAT_FLAC, FORMAT_THEORA, FORMAT_UNKNOWN, FORMAT_VORBIS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGranulePosition(long long1) voidaddPageNumberMapping(int int1) voidcheckFormat(OggPage oggPage) voidclose()longbyte[]longgetTime()booleanisOpen()voidreset()voidsetTime(long long1)
-
Constructor Details
-
LogicalOggStreamImpl
-
-
Method Details
-
addPageNumberMapping
public void addPageNumberMapping(int int1) -
addGranulePosition
public void addGranulePosition(long long1) -
reset
- Specified by:
resetin interfaceLogicalOggStream- Throws:
OggFormatExceptionIOException
-
getNextOggPage
- Specified by:
getNextOggPagein interfaceLogicalOggStream- Throws:
EndOfOggStreamExceptionOggFormatExceptionIOException
-
getNextOggPacket
- Specified by:
getNextOggPacketin interfaceLogicalOggStream- Throws:
EndOfOggStreamExceptionOggFormatExceptionIOException
-
isOpen
public boolean isOpen()- Specified by:
isOpenin interfaceLogicalOggStream
-
close
- Specified by:
closein interfaceLogicalOggStream- Throws:
IOException
-
getMaximumGranulePosition
public long getMaximumGranulePosition()- Specified by:
getMaximumGranulePositionin interfaceLogicalOggStream
-
getTime
public long getTime()- Specified by:
getTimein interfaceLogicalOggStream
-
setTime
- Specified by:
setTimein interfaceLogicalOggStream- Throws:
IOException
-
checkFormat
-
getFormat
- Specified by:
getFormatin interfaceLogicalOggStream
-