Package com.wowza.io
Interface ITextReader
- 
- All Known Subinterfaces:
- IDvrTextReader
 
 public interface ITextReader
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Close the media assetbooleanexists()Does the media asset existStringgetBasePath()Get the basePath for the random access readerStringgetMediaName()Get the media nameStringgetPath()Get the unique path to the media asset itemvoidinit(IApplicationInstance appInstance, IMediaStream stream, String basePath, String mediaName)booleanisOpen()Is the media asset openlonglastModified()Return the lastModified date (same format as File.lastModified)longlength()Get the media asset length in bytesvoidopen()Open the media assetintread(char[] buf, int off, int size)booleanready()
 
- 
- 
- 
Method Detail- 
initvoid init(IApplicationInstance appInstance, IMediaStream stream, String basePath, String mediaName) 
 - 
openvoid open() throws java.io.IOException Open the media asset- Throws:
- java.io.IOException
 
 - 
readyboolean ready() throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
closevoid close() throws java.io.IOExceptionClose the media asset- Throws:
- java.io.IOException
 
 - 
isOpenboolean isOpen() Is the media asset open- Returns:
- true if media asset is open
 
 - 
readint read(char[] buf, int off, int size) throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
getBasePathString getBasePath() Get the basePath for the random access reader- Returns:
- basePath for the random access reader
 
 - 
getMediaNameString getMediaName() Get the media name- Returns:
- media name
 
 - 
existsboolean exists() Does the media asset exist- Returns:
- true if media assets exists
 
 - 
lastModifiedlong lastModified() Return the lastModified date (same format as File.lastModified)- Returns:
- lastModified date (same format as File.lastModified)
 
 - 
lengthlong length() Get the media asset length in bytes- Returns:
- media asset length in bytes
 
 - 
getPathString getPath() Get the unique path to the media asset item- Returns:
- unique path to the media asset item
 
 
- 
 
-