Package net.bramp.ffmpeg.progress
Class AbstractSocketProgressParser
java.lang.Object
net.bramp.ffmpeg.progress.AbstractSocketProgressParser
- All Implemented Interfaces:
Closeable,AutoCloseable,ProgressParser
- Direct Known Subclasses:
TcpProgressParser,UdpProgressParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected abstract RunnablegetRunnable(CountDownLatch startSignal) protected abstract Stringvoidstart()Starts the ProgressParser waiting for progress.voidstop()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.bramp.ffmpeg.progress.ProgressParser
getUri
-
Constructor Details
-
AbstractSocketProgressParser
-
-
Method Details
-
getThreadName
-
getRunnable
-
start
Starts the ProgressParser waiting for progress.- Specified by:
startin interfaceProgressParser- Throws:
IllegalThreadStateException- if the parser was already started.
-
stop
- Specified by:
stopin interfaceProgressParser- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-