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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addGranulePosition
(long long1) void
addPageNumberMapping
(int int1) void
checkFormat
(OggPage oggPage) void
close()
long
byte[]
long
getTime()
boolean
isOpen()
void
reset()
void
setTime
(long long1)
-
Constructor Details
-
LogicalOggStreamImpl
-
-
Method Details
-
addPageNumberMapping
public void addPageNumberMapping(int int1) -
addGranulePosition
public void addGranulePosition(long long1) -
reset
- Specified by:
reset
in interfaceLogicalOggStream
- Throws:
OggFormatException
IOException
-
getNextOggPage
- Specified by:
getNextOggPage
in interfaceLogicalOggStream
- Throws:
EndOfOggStreamException
OggFormatException
IOException
-
getNextOggPacket
- Specified by:
getNextOggPacket
in interfaceLogicalOggStream
- Throws:
EndOfOggStreamException
OggFormatException
IOException
-
isOpen
public boolean isOpen()- Specified by:
isOpen
in interfaceLogicalOggStream
-
close
- Specified by:
close
in interfaceLogicalOggStream
- Throws:
IOException
-
getMaximumGranulePosition
public long getMaximumGranulePosition()- Specified by:
getMaximumGranulePosition
in interfaceLogicalOggStream
-
getTime
public long getTime()- Specified by:
getTime
in interfaceLogicalOggStream
-
setTime
- Specified by:
setTime
in interfaceLogicalOggStream
- Throws:
IOException
-
checkFormat
-
getFormat
- Specified by:
getFormat
in interfaceLogicalOggStream
-