Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
*/
public class CookieConfig {

/**
* Creates a new CookieConfig instance.
*/
public CookieConfig() {
// Default constructor
}

private String name;
private String value;
private String domain;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
*/
public class CredentialsConfig {

/**
* Creates a new CredentialsConfig instance.
*/
public CredentialsConfig() {
// Default constructor
}

/**
* Type of credentials.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@
*/
public class WebAuthenticationConfig {

/**
* Creates a new WebAuthenticationConfig instance.
*/
public WebAuthenticationConfig() {
// Default constructor
}

/**
* Type of authentication scheme.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ public void setEncoding(final String encoding) {
this.encoding = encoding;
}

/**
* Extracts readable text from the given PostScript content.
* @param psContent the PostScript content to extract text from
* @return the extracted text
*/
protected String extractText(final String psContent) {
final List<String> collectedTexts = new ArrayList<>();
final List<String> stack = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ protected SitemapSet parse(final InputStream in, final boolean recursive, final
/**
* Parses a text-based sitemap from the given input stream.
* @param in the input stream to parse
* @param sitemapBaseUrl the base URL used to resolve relative sitemap URLs
* @return the parsed sitemap set
*/
protected SitemapSet parseTextSitemaps(final InputStream in, final String sitemapBaseUrl) {
Expand Down Expand Up @@ -265,6 +266,7 @@ protected SitemapSet parseTextSitemaps(final InputStream in, final String sitema
/**
* Parses an XML sitemap from the given input stream.
* @param in the input stream to parse
* @param sitemapBaseUrl the base URL used to resolve relative sitemap URLs
* @return the parsed sitemap set
*/
protected SitemapSet parseXmlSitemaps(final InputStream in, final String sitemapBaseUrl) {
Expand Down Expand Up @@ -699,6 +701,7 @@ public SitemapSet getSitemapSet() {
/**
* Parses an XML sitemap index from the given input stream.
* @param in the input stream to parse
* @param sitemapBaseUrl the base URL used to resolve relative sitemap URLs
* @return the parsed sitemap set
*/
protected SitemapSet parseXmlSitemapsIndex(final InputStream in, final String sitemapBaseUrl) {
Expand Down Expand Up @@ -1161,6 +1164,11 @@ protected static class SizeLimitedInputStream extends FilterInputStream {

private long bytesRead;

/**
* Creates a new SizeLimitedInputStream wrapping the given input stream.
* @param in the input stream to wrap
* @param maxSize the maximum number of bytes allowed to be read
*/
protected SizeLimitedInputStream(final InputStream in, final long maxSize) {
super(in);
this.maxSize = maxSize;
Expand Down
Loading