Package net.bramp.ffmpeg.progress
Class TcpProgressParser
java.lang.Object
net.bramp.ffmpeg.progress.AbstractSocketProgressParser
net.bramp.ffmpeg.progress.TcpProgressParser
- All Implemented Interfaces:
Closeable,AutoCloseable,ProgressParser
-
Constructor Summary
ConstructorsConstructorDescriptionTcpProgressParser(ProgressListener listener) TcpProgressParser(ProgressListener listener, int port, InetAddress addr) -
Method Summary
Modifier and TypeMethodDescriptionprotected RunnablegetRunnable(CountDownLatch startSignal) protected StringgetUri()The URL to parse to FFmpeg to communicate with this parservoidstop()Methods inherited from class net.bramp.ffmpeg.progress.AbstractSocketProgressParser
close, start
-
Constructor Details
-
TcpProgressParser
- Throws:
IOExceptionURISyntaxException
-
TcpProgressParser
public TcpProgressParser(ProgressListener listener, int port, InetAddress addr) throws IOException, URISyntaxException - Throws:
IOExceptionURISyntaxException
-
-
Method Details
-
stop
- Specified by:
stopin interfaceProgressParser- Overrides:
stopin classAbstractSocketProgressParser- Throws:
IOException
-
getThreadName
- Specified by:
getThreadNamein classAbstractSocketProgressParser
-
getRunnable
- Specified by:
getRunnablein classAbstractSocketProgressParser
-
getUri
Description copied from interface:ProgressParserThe URL to parse to FFmpeg to communicate with this parser- Returns:
- The URI to communicate with FFmpeg.
-