Package org.faceless.pdf2
Interface LoadState
-
public interface LoadState
An interface which can be used to query the progress of a load of a page in a Linearized PDF.- Since:
- 2.14
- See Also:
PDF.getLoadState(int)
,PDFReader.setSource(java.net.URL)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getBytes()
Return the number of bytes that must be loaded for this requestlong
getBytesRemaining()
Return the number of bytes remaining that must be loaded for this request to complete.int
getTimeRemaining()
Return an estimate of the time remaining for the load, in ms
-
-
-
Method Detail
-
getBytes
long getBytes()
Return the number of bytes that must be loaded for this request
-
getBytesRemaining
long getBytesRemaining()
Return the number of bytes remaining that must be loaded for this request to complete. When this is 0 the page has fully loaded
-
getTimeRemaining
int getTimeRemaining()
Return an estimate of the time remaining for the load, in ms
-
-