Verified Owner
Top Classes
module org.jabref.jablib

Package org.jabref.logic.net


Class Summary

Modifier and TypeClass and Description
public class
ProgressInputStream

An input stream that keeps track of the amount of bytes already read.

public class
public class
public class
public class
URLDownload

Example

java URLDownload dl = new URLDownload(URL); String content = dl.asString(ENCODING); dl.toFile(Path); // available in FILE String contentType = dl.getMimeType();

Almost every call to a public method creates a new HTTP connection (except for asString, which uses an already opened connection).