Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- add(String) - Method in class com.attribyte.parser.page.LinkExtractor
-
Adds an externally processed URL.
- addAltLink(String) - Method in class com.attribyte.parser.model.Entry.Builder
-
Adds an alternate link.
- addAudio(Audio) - Method in class com.attribyte.parser.model.Entry.Builder
-
Adds an audio stream.
- addAuthor(Author) - Method in class com.attribyte.parser.model.Entry.Builder
-
Adds an author.
- addAuthor(Author) - Method in class com.attribyte.parser.model.Resource.Builder
-
Adds an author.
- addCitation(Link) - Method in class com.attribyte.parser.model.Entry.Builder
-
Adds a citation.
- addEntry(Entry) - Method in class com.attribyte.parser.model.Resource.Builder
-
Adds an entry.
- addFeedLink(String) - Method in class com.attribyte.parser.model.Resource.Builder
-
Adds a feed link.
- addImage(Entry.Builder, Image.Builder) - Static method in class com.attribyte.parser.entry.FeedParser
-
Adds an image to an entry and if entry has no primary image, sets primary image to this image.
- addImage(Entry.Builder, String, String) - Static method in class com.attribyte.parser.entry.FeedParser
-
Adds an image to an entry if a valid URL and sets the primary image, if unset.
- addImage(Image) - Method in class com.attribyte.parser.model.Entry.Builder
-
Adds an image.
- addTag(String) - Method in class com.attribyte.parser.model.Entry.Builder
-
Adds a tag.
- addTag(String) - Method in class com.attribyte.parser.model.Resource.Builder
-
Adds a tag.
- addVariant(Video) - Method in class com.attribyte.parser.model.Video.Builder
-
Adds a variant.
- addVideo(Video) - Method in class com.attribyte.parser.model.Entry.Builder
-
Adds a video.
- altFeedTypes - Static variable in class com.attribyte.parser.model.Page
- altLinks - Variable in class com.attribyte.parser.model.Entry
-
The alt links, if any.
- altText - Variable in class com.attribyte.parser.model.Audio
-
Text that describes the audio, or an empty string if none.
- altText - Variable in class com.attribyte.parser.model.Image
-
Text that describes the image, or an empty string if none.
- altText - Variable in class com.attribyte.parser.model.Video
-
Text that describes the video, or an empty string if none.
- ALWAYS - Enum constant in enum class com.attribyte.parser.model.SitemapLink.ChangeFrequency
-
Always changing.
- AMP - Enum constant in enum class com.attribyte.parser.Detector.Format
-
Google Amp pages.
- ampLink - Variable in class com.attribyte.parser.model.Resource
-
The optional amp link.
- AmpParser - Class in com.attribyte.parser.entry
-
Parse HTML metadata to create an entry.
- AmpParser() - Constructor for class com.attribyte.parser.entry.AmpParser
- Anchor - Class in com.attribyte.parser.model
-
An immutable anchor element.
- Anchor(String, String, String) - Constructor for class com.attribyte.parser.model.Anchor
-
Creates an anchor.
- anchors - Variable in class com.attribyte.parser.model.Page
-
All unique anchors found in the document.
- anchors() - Method in class com.attribyte.parser.page.LinkExtractor
-
Gets all anchors.
- anchors(Document, Set<Anchor>) - Static method in class com.attribyte.parser.page.HTMLPageParser
-
Extract unique anchors from a document.
- anchorText - Variable in class com.attribyte.parser.model.Anchor
-
The anchor text.
- aspect - Variable in class com.attribyte.parser.model.Video
-
The aspect.
- Aspect - Class in com.attribyte.parser.model
-
An aspect (ratio).
- Aspect(int, int) - Constructor for class com.attribyte.parser.model.Aspect
-
Creates an aspect.
- ATOM - Enum constant in enum class com.attribyte.parser.Detector.Format
-
The Atom feed format.
- AtomParser - Class in com.attribyte.parser.entry
- AtomParser() - Constructor for class com.attribyte.parser.entry.AtomParser
- audio() - Method in class com.attribyte.parser.page.LinkExtractor
-
Gets all audio.
- audio(Document, Set<Audio>) - Static method in class com.attribyte.parser.page.HTMLPageParser
-
Extract unique audio streams appearing in a document into a set.
- Audio - Class in com.attribyte.parser.model
-
An immutable audio stream.
- Audio.Builder - Class in com.attribyte.parser.model
-
Builds an immutable audio stream.
- audios - Variable in class com.attribyte.parser.model.Entry
-
The immutable list of all audio streams.
- audios - Variable in class com.attribyte.parser.model.Page
-
All audio streams found in the document.
- author - Variable in class com.attribyte.parser.model.Page
-
The author name.
- Author - Class in com.attribyte.parser.model
-
An immutable author.
- Author.Builder - Class in com.attribyte.parser.model
-
Builds immutable authors.
- authors - Variable in class com.attribyte.parser.model.Entry
-
The immutable list of authors.
- authors - Variable in class com.attribyte.parser.model.Resource
-
The immutable list of authors.
B
- base64Encoded - Variable in class com.attribyte.parser.model.DataURI
-
Was the data base64 encoded?
- baseLink - Variable in class com.attribyte.parser.model.Resource
-
The base link used to resolve relative references.
- basicSafelist() - Static method in class com.attribyte.parser.Safelists
-
The basic safelist.
- bitrate - Variable in class com.attribyte.parser.model.Video
-
The video bitrate.
- blockElementNames - Static variable in class com.attribyte.parser.Safelists
-
An immutable set of the names of all HTML 5 block elements.
- blockElements() - Static method in class com.attribyte.parser.Safelists
-
A safelist that includes only HTML5 block elements with
class,idanddata-*attributes. - build() - Method in class com.attribyte.parser.model.Audio.Builder
-
Builds an immutable audio stream.
- build() - Method in class com.attribyte.parser.model.Author.Builder
-
Builds an immutable author.
- build() - Method in class com.attribyte.parser.model.Entry.Builder
-
Builds an immutable entry.
- build() - Method in class com.attribyte.parser.model.Image.Builder
-
Builds an immutable image.
- build() - Method in class com.attribyte.parser.model.Resource.Builder
-
Builds an immutable resource.
- build() - Method in class com.attribyte.parser.model.Video.Builder
-
Builds an immutable video.
- builder() - Static method in class com.attribyte.parser.model.Entry
-
Creates a new builder.
- builder() - Static method in class com.attribyte.parser.model.Resource
-
Creates a new (empty) builder.
- builder(byte[]) - Static method in class com.attribyte.parser.model.Image
-
Creates a builder for images with data.
- builder(Audio) - Static method in class com.attribyte.parser.model.Audio
-
Creates a builder from an existing audio stream.
- builder(Author) - Static method in class com.attribyte.parser.model.Author
-
Creates a builder populated from an existing author.
- builder(Image) - Static method in class com.attribyte.parser.model.Image
-
Creates a builder from an existing image.
- builder(Video) - Static method in class com.attribyte.parser.model.Video
-
Creates a builder from an existing video.
- builder(String) - Static method in class com.attribyte.parser.model.Audio
-
Creates a builder.
- builder(String) - Static method in class com.attribyte.parser.model.Author
-
Creates a builder.
- builder(String) - Static method in class com.attribyte.parser.model.Image
-
Creates a builder for images with a link.
- builder(String) - Static method in class com.attribyte.parser.model.Video
-
Creates a builder.
- Builder() - Constructor for class com.attribyte.parser.model.Entry.Builder
- Builder() - Constructor for class com.attribyte.parser.model.Resource.Builder
- buildRequestURL(String, String) - Method in class com.attribyte.parser.model.OEmbedProvider.Endpoint
-
Creates the oembed request URL.
- bytes() - Method in class com.attribyte.parser.epub.EpubParser.ManifestItem
-
Gets the raw bytes for this item.
C
- canonicalLink - Variable in class com.attribyte.parser.model.Entry
-
The canonical link or an empty string if none.
- canonicalLink - Variable in class com.attribyte.parser.model.Page
-
The canonical link to this page.
- canonicalLink - Variable in class com.attribyte.parser.model.Resource
-
The canonical link for the resource.
- changeFrequency - Variable in class com.attribyte.parser.model.SitemapLink
-
The change frequency.
- checkNow(long) - Method in enum class com.attribyte.parser.model.SitemapLink.ChangeFrequency
-
Is this link ready for a check?
- childrenToString(Element) - Static method in class com.attribyte.parser.Util
-
Converts all children of an HTML element to a string.
- childText(JsonNode, String) - Static method in class com.attribyte.parser.Util
-
Gets the text for a JSON object property.
- childText(Element, String) - Static method in class com.attribyte.parser.Util
-
Gets the text of a child element.
- citations - Variable in class com.attribyte.parser.model.Entry
-
An immutable list of citations (from the entry).
- cleanAndMarkEmbeds(Document, String) - Method in class com.attribyte.parser.DefaultContentCleaner
-
Marks
iframesby placing aqtag before every image with theciteattribute set to the frame source. - cleanAndMarkImages(Document, String) - Method in class com.attribyte.parser.DefaultContentCleaner
-
Removes any images without a source and marks images (if
withImages=false) by placing aqtag before every image with theciteattribute set to the image source andclassset toimage. - cleanAndMarkTwitterBlockquotes(Document) - Method in class com.attribyte.parser.DefaultContentCleaner
- cleanContent - Variable in class com.attribyte.parser.model.Entry
-
The cleaned content or an empty string if none.
- cleanSpecialCharacters(String) - Static method in class com.attribyte.parser.Util
-
Cleans special characters from a string, including emojii.
- com.attribyte.json - package com.attribyte.json
- com.attribyte.parser - package com.attribyte.parser
- com.attribyte.parser.entry - package com.attribyte.parser.entry
- com.attribyte.parser.epub - package com.attribyte.parser.epub
- com.attribyte.parser.model - package com.attribyte.parser.model
- com.attribyte.parser.page - package com.attribyte.parser.page
- com.attribyte.parser.sitemap - package com.attribyte.parser.sitemap
- containsImage(Entry.Builder, String) - Static method in class com.attribyte.parser.Util
-
Determine if an entry contains the image.
- ContentCleaner - Interface in com.attribyte.parser
- contentSafelist() - Static method in class com.attribyte.parser.Safelists
-
The default content safelist.
- contentSafelistWithImages() - Static method in class com.attribyte.parser.Safelists
-
The default content safelist with images allowed.
- ContentSplitter - Class in com.attribyte.parser
-
Split content into a single sequence of elements.
- ContentSplitter(String, Set<String>, Set<String>, Map<String, Function<Element, List<Node>>>) - Constructor for class com.attribyte.parser.ContentSplitter
-
Create a content splitter.
- contributors - Variable in class com.attribyte.parser.epub.EpubParser.Metadata
-
The contributors.
- convertToInlineWithBreak(String, String...) - Method in class com.attribyte.parser.ContentSplitter
-
Create a mapping function that converts a tag to an inline tag followed by a break.
- creators - Variable in class com.attribyte.parser.epub.EpubParser.Metadata
-
The creators.
- credit - Variable in class com.attribyte.parser.model.Image
-
An image credit.
D
- DAILY - Enum constant in enum class com.attribyte.parser.model.SitemapLink.ChangeFrequency
-
Changing daily.
- data - Variable in class com.attribyte.parser.model.DataURI
-
The data as bytes.
- data - Variable in class com.attribyte.parser.model.Image
-
The image data (bytes), if available.
- DataURI - Class in com.attribyte.parser.model
-
A data
data:image/png;base64,iVBORURI. - DataURI(String) - Constructor for class com.attribyte.parser.model.DataURI
-
Creates a data URI from the
srcattribute. - DateParser - Class in com.attribyte.parser
-
Date/time parsing methods.
- DateParser() - Constructor for class com.attribyte.parser.DateParser
- DEFAULT_PROVIDERS_URL - Static variable in class com.attribyte.parser.model.OEmbedProvider
-
The standard oembed providers endpoint URL ("https://oembed.com/providers.json").
- DefaultAMPCleaner - Class in com.attribyte.parser
- DefaultAMPCleaner() - Constructor for class com.attribyte.parser.DefaultAMPCleaner
- DefaultContentCleaner - Class in com.attribyte.parser
- DefaultContentCleaner() - Constructor for class com.attribyte.parser.DefaultContentCleaner
- defaultProtocol - Variable in class com.attribyte.parser.page.LinkExtractor
-
The default protocol used for links that start with
//or have no protocol. - description - Variable in class com.attribyte.parser.model.Author
-
A description for the author.
- description - Variable in class com.attribyte.parser.model.Resource
-
The description or empty if none.
- detect(String, String) - Static method in interface com.attribyte.parser.Detector
-
Examines the response body and content type to attempt to determine the format of the content to be parsed.
- Detector - Interface in com.attribyte.parser
-
Attempt to detect the content format to select a parser.
- Detector.Format - Enum Class in com.attribyte.parser
- displayName - Variable in class com.attribyte.parser.model.Author
-
An author name for display.
- document() - Method in class com.attribyte.parser.epub.EpubParser.ManifestItem
-
Gets the parsed XHTML document for this item, if any.
- domain(String) - Static method in class com.attribyte.parser.Util
-
Gets the (top, private) domain for the link.
- domainMap(Collection<OEmbedProvider>) - Static method in class com.attribyte.parser.model.OEmbedProvider
-
Builds a map of endpoints vs the domain they support.
- durationMillis - Variable in class com.attribyte.parser.model.Video
-
The duration in milliseconds.
E
- email - Variable in class com.attribyte.parser.model.Author
-
The author email or an empty string if none.
- EMPTY - Enum constant in enum class com.attribyte.json.JSONToJsoup.NullBehavior
-
Report
nullvalues with an empty element. - EMPTY_ELEMENT - Static variable in class com.attribyte.parser.Util
-
An element with empty content.
- Endpoint(String, Collection<String>) - Constructor for class com.attribyte.parser.model.OEmbedProvider.Endpoint
-
Creates an endpoint.
- endpoints - Variable in class com.attribyte.parser.model.OEmbedProvider
-
The immutable list of endpoints.
- endsWithIgnoreInvisible(String, String) - Static method in class com.attribyte.parser.Util
-
Determine if a string ends with another string, ignoring trailing "invisible" characters in the source.
- entries - Variable in class com.attribyte.parser.model.Resource
-
The immutable list of entries.
- Entry - Class in com.attribyte.parser.model
-
An immutable entry.
- Entry.Builder - Class in com.attribyte.parser.model
- EpubDocument(EpubParser.Metadata, EpubParser.Spine, File) - Constructor for class com.attribyte.parser.epub.EpubParser.EpubDocument
- EpubParser - Class in com.attribyte.parser.epub
- EpubParser() - Constructor for class com.attribyte.parser.epub.EpubParser
- EpubParser.EpubDocument - Class in com.attribyte.parser.epub
-
An Epub format document.
- EpubParser.ManifestItem - Class in com.attribyte.parser.epub
-
A manifest item in the spine.
- EpubParser.Metadata - Class in com.attribyte.parser.epub
-
The document metadata.
- EpubParser.Spine - Class in com.attribyte.parser.epub
-
A document spine.
- equals(Object) - Method in class com.attribyte.parser.model.Anchor
- equals(Object) - Method in class com.attribyte.parser.model.Audio
- equals(Object) - Method in class com.attribyte.parser.model.Image
- equals(Object) - Method in class com.attribyte.parser.model.Link
- equals(Object) - Method in class com.attribyte.parser.model.Video
- errors - Variable in class com.attribyte.parser.ParseResult
-
An immutable list of errors.
- eventAttributeNames - Static variable in class com.attribyte.parser.Safelists
-
An immutable set of HTML 'event' attribute names.
- exception - Variable in class com.attribyte.parser.ParseError
-
An optional exception;
- externalAnchors() - Method in class com.attribyte.parser.model.Page
-
Gets a list of all anchors that link to external sites in the order they appear on the page.
- extractLinks(Document) - Method in class com.attribyte.parser.page.LinkExtractor
-
Extracts all links from a document.
F
- feedLinks - Variable in class com.attribyte.parser.model.Resource
-
The immutable list of feed links.
- feedLinks() - Method in class com.attribyte.parser.model.Page
-
Gets a list of potential feed links.
- FeedParser - Class in com.attribyte.parser.entry
- FeedParser() - Constructor for class com.attribyte.parser.entry.FeedParser
- feedTypes - Static variable in class com.attribyte.parser.model.Page
-
The values of link 'type' attribute recognized as feeds.
- firstChild(Element, String) - Static method in class com.attribyte.parser.Util
-
Gets first child element.
- firstError() - Method in class com.attribyte.parser.ParseResult
- firstMatch(Element, String) - Static method in class com.attribyte.parser.Util
-
Finds the first element matching the pattern.
- fromJSON(JsonNode) - Static method in class com.attribyte.parser.model.OEmbedProvider
-
Creates a map of provider vs URL from the format supported by
https://oembed.com/providers.json. - fromString(String) - Static method in enum class com.attribyte.parser.model.SitemapLink.ChangeFrequency
-
Create frequency from a string.
G
- getAltLinks() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets an immutable list of alt links.
- getAltText() - Method in class com.attribyte.parser.model.Audio.Builder
-
Gets the alternate text.
- getAltText() - Method in class com.attribyte.parser.model.Image.Builder
-
Gets the alternate text.
- getAltText() - Method in class com.attribyte.parser.model.Video.Builder
-
Gets the alternate text.
- getAmpLink() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets the amp link.
- getAspect() - Method in class com.attribyte.parser.model.Video.Builder
-
Gets the aspect.
- getAudios() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets an immutable list of audio streams.
- getAuthors() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets an immutable list of authors.
- getAuthors() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets an immutable list of authors.
- getBaseLink() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets the base link.
- getBitrate() - Method in class com.attribyte.parser.model.Video.Builder
-
Gets the bitrate.
- getCanonicalLink() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets the canonical link.
- getCanonicalLink() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets the canonical link.
- getCitations() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets an immutable list citations.
- getCleanContent() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets the clean content.
- getCredit() - Method in class com.attribyte.parser.model.Image.Builder
-
Gets the credit.
- getDescription() - Method in class com.attribyte.parser.model.Author.Builder
-
Gets the description.
- getDescription() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets the description.
- getDisplayName() - Method in class com.attribyte.parser.model.Author.Builder
-
Gets the display name.
- getDocumentProtocol(String) - Method in class com.attribyte.parser.DefaultContentCleaner
-
Gets the protocol to be prepended to image source that start with
//. - getDurationMillis() - Method in class com.attribyte.parser.model.Video.Builder
-
Gets the duration in milliseconds.
- getEmail() - Method in class com.attribyte.parser.model.Author.Builder
-
Gets the email.
- getEntries() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets an immutable list of entries.
- getFeedLinks() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets an immutable list of feed links.
- getHeight() - Method in class com.attribyte.parser.model.Image.Builder
-
Gets the height.
- getHeight() - Method in class com.attribyte.parser.model.Video.Builder
-
Gets the height.
- getIcon() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets the icon.
- getId() - Method in class com.attribyte.parser.model.Audio.Builder
-
Gets the id.
- getId() - Method in class com.attribyte.parser.model.Author.Builder
-
Gets the id.
- getId() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets the id.
- getId() - Method in class com.attribyte.parser.model.Image.Builder
-
Gets the id.
- getId() - Method in class com.attribyte.parser.model.Video.Builder
-
Gets the id.
- getImage() - Method in class com.attribyte.parser.model.Author.Builder
-
Gets the image.
- getImage() - Method in class com.attribyte.parser.model.Video.Builder
-
Gets the image.
- getImages() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets an immutable list of images.
- getLink() - Method in class com.attribyte.parser.model.Audio.Builder
-
Gets the link.
- getLink() - Method in class com.attribyte.parser.model.Author.Builder
-
Gets the link.
- getLink() - Method in class com.attribyte.parser.model.Image.Builder
-
Gets the link.
- getLink() - Method in class com.attribyte.parser.model.Video.Builder
-
Gets the link.
- getLogo() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets the logo.
- getMediaType() - Method in class com.attribyte.parser.model.Audio.Builder
-
Gets the type.
- getMediaType() - Method in class com.attribyte.parser.model.Image.Builder
-
Gets the media type.
- getMediaType() - Method in class com.attribyte.parser.model.Video.Builder
-
Gets the media type.
- getMetadata(String) - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets previously set metadata.
- getName() - Method in class com.attribyte.parser.model.Author.Builder
-
Gets the name.
- getOriginalContent() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets the (parsed) original content.
- getPrimaryAudio() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets the primary audio stream.
- getPrimaryImage() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets the primary image.
- getPrimaryVideo() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets the primary video.
- getPublishedTimestamp() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets the published timestamp.
- getPublishedTimestamp() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets the published timestamp.
- getRights() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets the rights.
- getRights() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets the rights.
- getSiteLink() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets the site link.
- getSourceLink() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets the source link.
- getSubtitle() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets the subtitle.
- getSummary() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets the summary.
- getTags() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets an immutable list of tags.
- getTags() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets an immutable list of tags.
- getTimestampMillis(int, int, int, int, int, int) - Static method in class com.attribyte.parser.DateParser
-
Gets the timestamp in millis given year, month, etc...
- getTitle() - Method in class com.attribyte.parser.model.Audio.Builder
-
Gets the title.
- getTitle() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets the title.
- getTitle() - Method in class com.attribyte.parser.model.Image.Builder
-
Gets the title.
- getTitle() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets the title.
- getTitle() - Method in class com.attribyte.parser.model.Video.Builder
-
Gets the title.
- getUpdatedTimestamp() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets the updated timestamp.
- getUpdatedTimestamp() - Method in class com.attribyte.parser.model.Resource.Builder
-
Gets the updated timestamp.
- getVariants() - Method in class com.attribyte.parser.model.Video.Builder
-
Gets the variants.
- getVideos() - Method in class com.attribyte.parser.model.Entry.Builder
-
Gets an immutable list of videos.
- getWidth() - Method in class com.attribyte.parser.model.Image.Builder
-
Gets the width.
- getWidth() - Method in class com.attribyte.parser.model.Video.Builder
-
Gets the width.
H
- hasErrors() - Method in class com.attribyte.parser.ParseResult
-
Does the result have any errors?
- hashCode() - Method in class com.attribyte.parser.model.Anchor
- hashCode() - Method in class com.attribyte.parser.model.Audio
- hashCode() - Method in class com.attribyte.parser.model.Image
- hashCode() - Method in class com.attribyte.parser.model.Link
- hashCode() - Method in class com.attribyte.parser.model.Video
- height - Variable in class com.attribyte.parser.model.Aspect
-
The aspect ration height.
- height - Variable in class com.attribyte.parser.model.Image
-
The image height or
0if unknown. - height - Variable in class com.attribyte.parser.model.Video
-
The video height or
0if unknown. - host(String) - Static method in class com.attribyte.parser.Util
-
Gets the host for a link.
- HOURLY - Enum constant in enum class com.attribyte.parser.model.SitemapLink.ChangeFrequency
-
Changing hourly.
- href - Variable in class com.attribyte.parser.model.Anchor
-
The href attribute.
- href - Variable in class com.attribyte.parser.model.Link
-
The href attribute.
- HTML - Enum constant in enum class com.attribyte.parser.Detector.Format
-
HTML pages.
- HTMLMetadataParser - Class in com.attribyte.parser.entry
-
Parse HTML metadata to create an entry.
- HTMLMetadataParser() - Constructor for class com.attribyte.parser.entry.HTMLMetadataParser
- HTMLPageParser - Class in com.attribyte.parser.page
-
Extract interesting content from HTML as a
Page. - HTMLPageParser() - Constructor for class com.attribyte.parser.page.HTMLPageParser
- httpURL(String, String) - Static method in class com.attribyte.parser.Util
-
Check to see if a URL is
http/https.
I
- icon - Variable in class com.attribyte.parser.model.Resource
-
The optional icon.
- iconLinks() - Method in class com.attribyte.parser.model.Page
-
Gets a list of icon links.
- id - Variable in class com.attribyte.parser.epub.EpubParser.ManifestItem
-
The id.
- id - Variable in class com.attribyte.parser.model.Audio
-
A unique id, or an empty string if none.
- id - Variable in class com.attribyte.parser.model.Author
-
The unique id or an empty string if none.
- id - Variable in class com.attribyte.parser.model.Entry
-
The id or an empty string if none.
- id - Variable in class com.attribyte.parser.model.Image
-
A unique id, or an empty string if none.
- id - Variable in class com.attribyte.parser.model.Video
-
A unique id, or an empty string if none.
- identifier - Variable in class com.attribyte.parser.epub.EpubParser.Metadata
-
The identifier.
- ignore(String) - Method in class com.attribyte.parser.page.LinkExtractor
-
Adds a url to ignore.
- IGNORE - Enum constant in enum class com.attribyte.json.JSONToJsoup.NullBehavior
-
Ignore
nullvalues. - image - Variable in class com.attribyte.parser.model.Author
-
An image for the author.
- image - Variable in class com.attribyte.parser.model.Video
-
An image representing the video.
- image(String, String) - Static method in class com.attribyte.parser.entry.FeedParser
-
Create an image builder for a URL.
- Image - Class in com.attribyte.parser.model
-
An immutable image.
- Image.Builder - Class in com.attribyte.parser.model
-
Builds an immutable image.
- images - Variable in class com.attribyte.parser.model.Entry
-
The immutable list of images.
- images - Variable in class com.attribyte.parser.model.Page
-
All unique images found in the document.
- images() - Method in class com.attribyte.parser.epub.EpubParser.Spine
- images() - Method in class com.attribyte.parser.page.LinkExtractor
-
Gets all images.
- images(Document, Set<Image>) - Static method in class com.attribyte.parser.page.HTMLPageParser
-
Extract unique images appearing in a document into a set.
- init(Properties) - Method in interface com.attribyte.parser.ContentCleaner
-
Initialize the cleaner.
- init(Properties) - Method in class com.attribyte.parser.DefaultAMPCleaner
- init(Properties) - Method in class com.attribyte.parser.DefaultContentCleaner
- inlineElementNames - Static variable in class com.attribyte.parser.Safelists
-
All HTML 5 inline element names.
- ISO8601_FORMATTER - Static variable in class com.attribyte.parser.DateParser
-
The ISO 8601 formatter.
- isValidAuthor(String) - Static method in class com.attribyte.parser.page.HTMLPageParser
-
Does the author name appear to be valid.
- items - Variable in class com.attribyte.parser.epub.EpubParser.Spine
-
A map of manifest file vs id.
J
- JSONParser - Class in com.attribyte.json
-
A SAX parser for JSON documents.
- JSONParser() - Constructor for class com.attribyte.json.JSONParser
- JSONToJsoup - Class in com.attribyte.json
-
Parses JSON to a tree of jsoup nodes.
- JSONToJsoup() - Constructor for class com.attribyte.json.JSONToJsoup
- JSONToJsoup.NullBehavior - Enum Class in com.attribyte.json
-
The behavior when null values are encountered.
L
- language - Variable in class com.attribyte.parser.epub.EpubParser.Metadata
-
The language.
- lastModifiedTimestamp - Variable in class com.attribyte.parser.model.SitemapLink
-
The (reported) last modified timestamp.
- linear - Variable in class com.attribyte.parser.epub.EpubParser.Spine
-
The linear elements.
- linearXHTML() - Method in class com.attribyte.parser.epub.EpubParser.Spine
- link - Variable in class com.attribyte.parser.model.Audio
-
A link to the audio stream.
- link - Variable in class com.attribyte.parser.model.Author
-
The author link or an empty string if none.
- link - Variable in class com.attribyte.parser.model.Image
-
A link to the image.
- link - Variable in class com.attribyte.parser.model.Video
-
A link to the video.
- Link - Class in com.attribyte.parser.model
-
An immutable link element.
- Link(String) - Constructor for class com.attribyte.parser.model.Link
-
Creates a link with just an href.
- Link(String, String, String, String) - Constructor for class com.attribyte.parser.model.Link
-
Creates a link.
- LinkExtractor - Class in com.attribyte.parser.page
-
Extract all links found in a document, including images.
- LinkExtractor(String) - Constructor for class com.attribyte.parser.page.LinkExtractor
-
Creates a link extractor.
- LinkExtractor(String, Collection<String>) - Constructor for class com.attribyte.parser.page.LinkExtractor
-
Creates a link extractor.
- LinkExtractor(String, Collection<String>, Function<String, String>) - Constructor for class com.attribyte.parser.page.LinkExtractor
-
Creates a link extractor.
- links - Variable in class com.attribyte.parser.model.Page
-
All unique links found in the document.
- links() - Method in class com.attribyte.parser.page.LinkExtractor
-
Gets all links.
- links(String, String) - Method in class com.attribyte.parser.model.Page
-
Gets a list of links with specified relation and media type.
- logo - Variable in class com.attribyte.parser.model.Resource
-
The optional logo.
M
- main(String[]) - Static method in class com.attribyte.parser.epub.EpubParser
- main(String[]) - Static method in class com.attribyte.parser.page.MetadataViewer
- map(Element, Set<String>) - Static method in class com.attribyte.parser.Util
-
Gets a map of the first child vs tag name for all names in the specified set.
- massageLinks(Document, String) - Method in class com.attribyte.parser.DefaultContentCleaner
-
Cleans links, adding a protocol, if missing.
- matches(String) - Method in class com.attribyte.parser.model.OEmbedProvider.Endpoint
-
Determine if a URL matches any of the supported schemes.
- matchesDomain(InternetDomainName) - Method in class com.attribyte.parser.model.Anchor
-
Determine if the domain name for the href matches a specified domain name.
- matchType(String, String) - Method in class com.attribyte.parser.model.Link
-
Matches the type.
- MAX_ID_META - Static variable in class com.attribyte.parser.entry.TwitterAPIParser
-
The source property in which the maximum seen id is saved.
- mediaType - Variable in class com.attribyte.parser.epub.EpubParser.ManifestItem
-
The media type.
- mediaType - Variable in class com.attribyte.parser.model.Audio
-
The audio type or an empty string if none.
- mediaType - Variable in class com.attribyte.parser.model.DataURI
-
The media type - may be an empty string.
- mediaType - Variable in class com.attribyte.parser.model.Image
-
The media type (for example,
image/png), or an empty string if unknown. - mediaType - Variable in class com.attribyte.parser.model.Video
-
The video type or an empty string if none.
- mergedDocument() - Method in class com.attribyte.parser.epub.EpubParser.EpubDocument
-
Build a document that merges all linear content into a single document.
- mergedDocumentFile - Variable in class com.attribyte.parser.epub.EpubParser.EpubDocument
-
If requested, a file with a merged, cleaned document.
- mergeLinearXHTML() - Method in class com.attribyte.parser.epub.EpubParser.Spine
-
Merge all the linear XHTML into a single document.
- message - Variable in class com.attribyte.parser.ParseError
-
The error message.
- metaAudios - Variable in class com.attribyte.parser.model.Page
-
All audio streams found in the metadata of the document.
- metadata - Variable in class com.attribyte.parser.epub.EpubParser.EpubDocument
-
The metadata.
- metadata - Variable in class com.attribyte.parser.model.Resource
-
A map of arbitrary metadata associated with the resource.
- MetadataViewer - Class in com.attribyte.parser.page
-
Download/view metadata for a page.
- MetadataViewer() - Constructor for class com.attribyte.parser.page.MetadataViewer
- metaImages - Variable in class com.attribyte.parser.model.Page
-
All unique images found in the metadata of the document.
- metaVideos - Variable in class com.attribyte.parser.model.Page
-
All videos found in the metadata of the document.
- modifiedTimestamp - Variable in class com.attribyte.parser.epub.EpubParser.Metadata
-
The last modified timestamp.
- modifiedTimestampComparator - Static variable in class com.attribyte.parser.model.SitemapLink
-
Compare links by last modified time.
- MONTHLY - Enum constant in enum class com.attribyte.parser.model.SitemapLink.ChangeFrequency
-
Changing monthly.
N
- name - Variable in class com.attribyte.parser.epub.EpubParser.ManifestItem
-
The name.
- name - Variable in class com.attribyte.parser.model.Author
-
The author name.
- name - Variable in class com.attribyte.parser.model.OEmbedProvider
-
The provider name.
- name() - Method in class com.attribyte.parser.entry.AmpParser
- name() - Method in class com.attribyte.parser.entry.AtomParser
- name() - Method in class com.attribyte.parser.entry.HTMLMetadataParser
- name() - Method in class com.attribyte.parser.entry.OEmbedJSONParser
- name() - Method in class com.attribyte.parser.entry.RSSParser
- name() - Method in class com.attribyte.parser.entry.TwitterAPIParser
- name() - Method in class com.attribyte.parser.entry.UniversalParser
- name() - Method in interface com.attribyte.parser.Parser
-
The name of the parser.
- NEVER - Enum constant in enum class com.attribyte.parser.model.SitemapLink.ChangeFrequency
-
Never changing.
- nonLinear - Variable in class com.attribyte.parser.epub.EpubParser.Spine
-
The non-linear elements.
- nonLinearXHTML() - Method in class com.attribyte.parser.epub.EpubParser.Spine
- NOOP - Static variable in interface com.attribyte.parser.ContentCleaner
-
A cleaner that does no transformation or cleaning.
O
- OEmbedJSONParser - Class in com.attribyte.parser.entry
-
Parse an oEmbed JSON document to create an entry.
- OEmbedJSONParser() - Constructor for class com.attribyte.parser.entry.OEmbedJSONParser
- OEmbedProvider - Class in com.attribyte.parser.model
-
An immutable oEmbed provider.
- OEmbedProvider(String, String, Collection<OEmbedProvider.Endpoint>) - Constructor for class com.attribyte.parser.model.OEmbedProvider
-
Creates an oembed provider.
- OEmbedProvider.Endpoint - Class in com.attribyte.parser.model
- originalContent() - Method in class com.attribyte.parser.model.Entry
-
The (parsed) original content.
P
- Page - Class in com.attribyte.parser.model
-
An immutable HTML page.
- Page(Document, String, Collection<Link>, String, String, String, String, Date, Collection<Anchor>, Collection<Image>, Collection<Image>, Collection<Video>, Collection<Video>, Collection<Audio>, Collection<Audio>, Collection<Link>) - Constructor for class com.attribyte.parser.model.Page
-
Creates a page.
- parse(File, File, Consumer<File>, boolean) - Static method in class com.attribyte.parser.epub.EpubParser
-
Parse an epub file.
- parse(Reader, String, JSONToJsoup.NullBehavior) - Static method in class com.attribyte.json.JSONToJsoup
-
Parse a JSON document to jsoup nodes.
- parse(Reader, Element, JSONToJsoup.NullBehavior) - Static method in class com.attribyte.json.JSONToJsoup
-
Parse a JSON document to jsoup nodes.
- parse(String, String) - Static method in class com.attribyte.parser.page.HTMLPageParser
-
Parse a page from a string.
- parse(String, String) - Static method in class com.attribyte.parser.sitemap.SitemapParser
-
Parse a sitemap.
- parse(String, String, ContentCleaner) - Method in class com.attribyte.parser.entry.AmpParser
- parse(String, String, ContentCleaner) - Method in class com.attribyte.parser.entry.FeedParser
- parse(String, String, ContentCleaner) - Method in class com.attribyte.parser.entry.HTMLMetadataParser
- parse(String, String, ContentCleaner) - Method in class com.attribyte.parser.entry.OEmbedJSONParser
- parse(String, String, ContentCleaner) - Method in class com.attribyte.parser.entry.TwitterAPIParser
- parse(String, String, ContentCleaner) - Method in class com.attribyte.parser.entry.UniversalParser
- parse(String, String, ContentCleaner) - Method in interface com.attribyte.parser.Parser
-
Parse content.
- parse(Document, String) - Static method in class com.attribyte.parser.page.HTMLPageParser
-
Parse a page from a Jsoup document.
- parse(InputSource, boolean, ContentHandler) - Static method in class com.attribyte.json.JSONParser
-
Parse a JSON document.
- parseEntries(Document, ContentCleaner, Resource.Builder) - Method in class com.attribyte.parser.entry.AtomParser
- parseEntries(Document, ContentCleaner, Resource.Builder) - Method in class com.attribyte.parser.entry.FeedParser
-
Parse all entries and add to the resource.
- parseEntries(Document, ContentCleaner, Resource.Builder) - Method in class com.attribyte.parser.entry.RSSParser
- parseEntry(Element, ContentCleaner, String) - Method in class com.attribyte.parser.entry.AtomParser
- parseEntry(Element, ContentCleaner, String) - Method in class com.attribyte.parser.entry.FeedParser
-
Parse an entry.
- parseEntry(Element, ContentCleaner, String) - Method in class com.attribyte.parser.entry.RSSParser
- ParseError - Class in com.attribyte.parser
-
Reports an error during parse.
- ParseError(String) - Constructor for class com.attribyte.parser.ParseError
-
Creates a parse error with unknown position.
- ParseError(String, int) - Constructor for class com.attribyte.parser.ParseError
-
Creates a parse error with a position.
- ParseError(String, Throwable) - Constructor for class com.attribyte.parser.ParseError
-
Creates a parse error with an exception and unknown position.
- ParseError(String, Throwable, int) - Constructor for class com.attribyte.parser.ParseError
-
Creates a parse error with an exception and position.
- parseFragment(String, String) - Static method in class com.attribyte.parser.page.HTMLPageParser
-
Parse a page from a string containing a fragment of HTML.
- parseFromURL(String, int) - Static method in class com.attribyte.parser.page.HTMLPageParser
-
Parse from a URL.
- parseISO8601(String) - Static method in class com.attribyte.parser.DateParser
-
Parses a date/time in ISO8601 format.
- Parser - Interface in com.attribyte.parser
-
A resource parser.
- ParseResult - Class in com.attribyte.parser
-
A parsed resource, on successful parse along with any errors.
- ParseResult(String, Resource) - Constructor for class com.attribyte.parser.ParseResult
-
Creates a parse result with a parsed resource and no errors.
- ParseResult(String, Resource, List<ParseError>) - Constructor for class com.attribyte.parser.ParseResult
-
Creates a parse result with a parsed resource and a list of (non-fatal) errors.
- ParseResult(String, ParseError) - Constructor for class com.attribyte.parser.ParseResult
-
Creates a parse result with a single error and no parsed resource.
- ParseResult(String, List<ParseError>) - Constructor for class com.attribyte.parser.ParseResult
-
Creates a parse result with a list of errors and no parsed resource.
- parseRFC822(String) - Static method in class com.attribyte.parser.DateParser
-
Lenient parse RFC822.
- parserName - Variable in class com.attribyte.parser.ParseResult
-
The name of the parser used to create this result.
- parseSimple(String) - Static method in class com.attribyte.parser.sitemap.SitemapParser
-
Parse a "simple" sitemap file (one URL per line).
- parseSource(Document, Resource.Builder) - Method in class com.attribyte.parser.entry.AtomParser
- parseSource(Document, Resource.Builder) - Method in class com.attribyte.parser.entry.FeedParser
-
Parse the feed source properties.
- parseSource(Document, Resource.Builder) - Method in class com.attribyte.parser.entry.RSSParser
- patterns - Variable in class com.attribyte.parser.model.OEmbedProvider.Endpoint
-
A list of patterns for each scheme.
- position - Variable in class com.attribyte.parser.ParseError
-
The character position in the parsed resource or
0if unknown. - primaryAudio - Variable in class com.attribyte.parser.model.Entry
-
The optional primary audio stream.
- primaryImage - Variable in class com.attribyte.parser.model.Entry
-
The optional primary image.
- primaryVideo - Variable in class com.attribyte.parser.model.Entry
-
The optional primary video.
- processByteStream(Consumer<InputStream>) - Method in class com.attribyte.parser.epub.EpubParser.ManifestItem
-
Externally process the bytes for this item supplied as a stream.
- protocol(String) - Static method in class com.attribyte.parser.Util
-
Gets the protocol from a link.
- publishedProviders() - Static method in class com.attribyte.parser.model.OEmbedProvider
-
Creates a map containing the default published providers.
- publishedProviders(String) - Static method in class com.attribyte.parser.model.OEmbedProvider
-
Creates a map containing published providers from a URL.
- publishedTimestamp - Variable in class com.attribyte.parser.epub.EpubParser.Metadata
-
The time the document was published.
- publishedTimestamp - Variable in class com.attribyte.parser.model.Entry
-
The published timestamp or
0if unknown. - publishedTimestamp - Variable in class com.attribyte.parser.model.Resource
-
The last published timestamp or
0if unknown. - publishTime - Variable in class com.attribyte.parser.model.Page
-
The publish time.
R
- rel - Variable in class com.attribyte.parser.model.Link
-
The relation attribute.
- REPORT - Enum constant in enum class com.attribyte.json.JSONToJsoup.NullBehavior
-
Report
nullvalues by adding the attribute `isNull' with value 'true'. - resource - Variable in class com.attribyte.parser.ParseResult
-
The resource, if parse was successful.
- Resource - Class in com.attribyte.parser.model
-
An immutable resource like a feed or HTML page.
- Resource.Builder - Class in com.attribyte.parser.model
-
Builds immutable resources.
- rights - Variable in class com.attribyte.parser.epub.EpubParser.Metadata
-
All rights.
- rights - Variable in class com.attribyte.parser.model.Entry
-
The rights or an empty string if none.
- rights - Variable in class com.attribyte.parser.model.Resource
-
The usage rights statement.
- RSS - Enum constant in enum class com.attribyte.parser.Detector.Format
-
The RSS feed format (any version).
- RSSParser - Class in com.attribyte.parser.entry
- RSSParser() - Constructor for class com.attribyte.parser.entry.RSSParser
S
- safeInlineElementNames - Static variable in class com.attribyte.parser.Safelists
-
An immutable set of the names of all HTML 5 inline elements that are "safe" (excludes
objectandscript). - safelist(Collection<String>, Collection<String>) - Static method in class com.attribyte.parser.Safelists
-
Creates a safelist that allows a specific set of tags and attributes (without regard to context).
- Safelists - Class in com.attribyte.parser
- Safelists() - Constructor for class com.attribyte.parser.Safelists
- schemes - Variable in class com.attribyte.parser.model.OEmbedProvider.Endpoint
-
The immutable list of schemes.
- selfLinks - Variable in class com.attribyte.parser.model.Page
-
A set of all 'self' links discovered in the document, including the canonical link.
- setAltLinks(List<String>) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the list of alt links.
- setAltText(String) - Method in class com.attribyte.parser.model.Audio.Builder
-
Sets the alternate text.
- setAltText(String) - Method in class com.attribyte.parser.model.Image.Builder
-
Sets the alternate text.
- setAltText(String) - Method in class com.attribyte.parser.model.Video.Builder
-
Sets the alternate text.
- setAmpLink(String) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the amp link.
- setAspect(Aspect) - Method in class com.attribyte.parser.model.Video.Builder
-
Sets the aspect.
- setAudios(List<Audio>) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the list of audio streams.
- setAuthors(List<Author>) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the list of authors.
- setAuthors(List<Author>) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the list of authors.
- setBaseLink(String) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the base link.
- setBitrate(int) - Method in class com.attribyte.parser.model.Video.Builder
-
Sets the bitrate.
- setCanonicalLink(String) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the canonical link.
- setCanonicalLink(String) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the canonical link.
- setCitations(List<Link>) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the list of citations.
- setCleanContent(String) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the clean content.
- setCredit(String) - Method in class com.attribyte.parser.model.Image.Builder
-
Sets the credit.
- setDescription(String) - Method in class com.attribyte.parser.model.Author.Builder
-
Sets the description.
- setDescription(String) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the description.
- setDisplayName(String) - Method in class com.attribyte.parser.model.Author.Builder
-
Sets the display name.
- setDurationMillis(long) - Method in class com.attribyte.parser.model.Video.Builder
-
Sets the duration in milliseconds.
- setEmail(String) - Method in class com.attribyte.parser.model.Author.Builder
-
Sets the email.
- setEntries(List<Entry>) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the list of entries.
- setFeedLinks(List<String>) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the feed links.
- setHeight(int) - Method in class com.attribyte.parser.model.Image.Builder
-
Sets the height.
- setHeight(int) - Method in class com.attribyte.parser.model.Video.Builder
-
Sets the height.
- setIcon(Image) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the icon.
- setId(String) - Method in class com.attribyte.parser.model.Audio.Builder
-
Sets the id.
- setId(String) - Method in class com.attribyte.parser.model.Author.Builder
-
Sets the id.
- setId(String) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the id.
- setId(String) - Method in class com.attribyte.parser.model.Image.Builder
-
Sets the id.
- setId(String) - Method in class com.attribyte.parser.model.Video.Builder
-
Sets the id.
- setImage(Image) - Method in class com.attribyte.parser.model.Author.Builder
-
Sets the image.
- setImage(Image) - Method in class com.attribyte.parser.model.Video.Builder
-
Sets the image.
- setImages(List<Image>) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the list of images.
- setLink(String) - Method in class com.attribyte.parser.model.Author.Builder
-
Sets the link.
- setLogo(Image) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the logo.
- setMediaType(String) - Method in class com.attribyte.parser.model.Audio.Builder
-
Sets the type.
- setMediaType(String) - Method in class com.attribyte.parser.model.Image.Builder
-
Sets the media type.
- setMediaType(String) - Method in class com.attribyte.parser.model.Video.Builder
-
Sets the type.
- setMetadata(String, String) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets a metadata value.
- setOriginalContent(Document) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the (parsed) original content.
- setPrimaryAudio(Audio) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the primary audio stream.
- setPrimaryImage(Image) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the primary image.
- setPrimaryVideo(Video) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the primary video.
- setPublishedTimestamp(long) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the published timestamp.
- setPublishedTimestamp(long) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the published timestamp.
- setRights(String) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the rights.
- setRights(String) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the rights.
- setSiteLink(String) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the site link.
- setSourceLink(String) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the source link.
- setSubtitle(String) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the subtitle.
- setSummary(String) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the summary.
- setTags(List<String>) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the list of tags.
- setTags(List<String>) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the list of tags.
- setTitle(String) - Method in class com.attribyte.parser.model.Audio.Builder
-
Sets the title.
- setTitle(String) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the title.
- setTitle(String) - Method in class com.attribyte.parser.model.Image.Builder
-
Sets the title.
- setTitle(String) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the title.
- setTitle(String) - Method in class com.attribyte.parser.model.Video.Builder
-
Sets the title.
- setUpdatedTimestamp(long) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the updated timestamp.
- setUpdatedTimestamp(long) - Method in class com.attribyte.parser.model.Resource.Builder
-
Sets the updated timestamp.
- setVariants(Collection<Video>) - Method in class com.attribyte.parser.model.Video.Builder
-
Sets/replaces all the variants.
- setVideos(List<Video>) - Method in class com.attribyte.parser.model.Entry.Builder
-
Sets the list of videos.
- setWidth(int) - Method in class com.attribyte.parser.model.Image.Builder
-
Sets the width.
- setWidth(int) - Method in class com.attribyte.parser.model.Video.Builder
-
Sets the width.
- siteLink - Variable in class com.attribyte.parser.model.Resource
-
A link to the site associated with the resource.
- SITEMAP - Enum constant in enum class com.attribyte.parser.Detector.Format
-
A sitemap.
- SitemapLink - Class in com.attribyte.parser.model
- SitemapLink(String, long, SitemapLink.ChangeFrequency) - Constructor for class com.attribyte.parser.model.SitemapLink
-
Creates a sitemap link.
- SitemapLink(String, String, String) - Constructor for class com.attribyte.parser.model.SitemapLink
-
Creates a sitemap link with ISO8601 timestamp and a change frequency string.
- SitemapLink.ChangeFrequency - Enum Class in com.attribyte.parser.model
- SitemapParser - Class in com.attribyte.parser.sitemap
-
Parse a site map.
- SitemapParser() - Constructor for class com.attribyte.parser.sitemap.SitemapParser
- siteName - Variable in class com.attribyte.parser.model.Page
-
The name of the site for this page.
- size() - Method in class com.attribyte.parser.epub.EpubParser.ManifestItem
-
Gets the size of this item in bytes.
- slugify(String) - Static method in class com.attribyte.parser.Util
-
Creates a slug from a string.
- sourceLink - Variable in class com.attribyte.parser.model.Resource
-
The source (input) link.
- spine - Variable in class com.attribyte.parser.epub.EpubParser.EpubDocument
-
The spine.
- split(Element) - Method in class com.attribyte.parser.ContentSplitter
-
Split into elements.
- splitOnMultipleLinebreaks(String, boolean) - Static method in class com.attribyte.parser.Util
-
Split on multiple line breaks.
- splitSimpleHTML(String) - Static method in class com.attribyte.parser.Util
- startsWithIgnoreInvisible(String, String) - Static method in class com.attribyte.parser.Util
-
Determine if a string starts with another string, ignoring leading "invisible" characters in the source.
- subjects - Variable in class com.attribyte.parser.epub.EpubParser.Metadata
-
The subjects.
- subtitle - Variable in class com.attribyte.parser.model.Resource
-
The subtitle or empty if none.
- summary - Variable in class com.attribyte.parser.model.Entry
-
The summary or an empty string if none.
- summary - Variable in class com.attribyte.parser.model.Page
-
A summary.
- supportedMimeTypes - Static variable in class com.attribyte.parser.epub.EpubParser
T
- tags - Variable in class com.attribyte.parser.model.Entry
-
The immutable list of tags.
- tags - Variable in class com.attribyte.parser.model.Resource
-
The immutable list of tags.
- title - Variable in class com.attribyte.parser.epub.EpubParser.Metadata
-
The primary title.
- title - Variable in class com.attribyte.parser.model.Anchor
-
The title attribute.
- title - Variable in class com.attribyte.parser.model.Audio
-
A title for the audio, or an empty string if none.
- title - Variable in class com.attribyte.parser.model.Entry
-
The title or an empty string if none.
- title - Variable in class com.attribyte.parser.model.Image
-
A title for the image, or an empty string if none.
- title - Variable in class com.attribyte.parser.model.Link
-
The link title.
- title - Variable in class com.attribyte.parser.model.Page
-
The page title.
- title - Variable in class com.attribyte.parser.model.Resource
-
The title, or empty if none.
- title - Variable in class com.attribyte.parser.model.Video
-
A title for the video, or an empty string if none.
- titles - Variable in class com.attribyte.parser.epub.EpubParser.Metadata
-
All titles.
- toCleanContent(Document) - Method in interface com.attribyte.parser.ContentCleaner
-
Converts the document to a cleaned string.
- toCleanContent(Document) - Method in class com.attribyte.parser.DefaultAMPCleaner
-
Converts the document to stored content.
- toCleanContent(Document) - Method in class com.attribyte.parser.DefaultContentCleaner
- toString() - Method in class com.attribyte.parser.epub.EpubParser.EpubDocument
- toString() - Method in class com.attribyte.parser.epub.EpubParser.ManifestItem
- toString() - Method in class com.attribyte.parser.epub.EpubParser.Metadata
- toString() - Method in class com.attribyte.parser.epub.EpubParser.Spine
- toString() - Method in class com.attribyte.parser.model.Anchor
- toString() - Method in class com.attribyte.parser.model.Aspect
- toString() - Method in class com.attribyte.parser.model.Audio
- toString() - Method in class com.attribyte.parser.model.Author
- toString() - Method in class com.attribyte.parser.model.Entry
- toString() - Method in class com.attribyte.parser.model.Image
- toString() - Method in class com.attribyte.parser.model.Link
- toString() - Method in class com.attribyte.parser.model.OEmbedProvider.Endpoint
- toString() - Method in class com.attribyte.parser.model.OEmbedProvider
- toString() - Method in class com.attribyte.parser.model.Resource
- toString() - Method in class com.attribyte.parser.model.SitemapLink
- toString() - Method in class com.attribyte.parser.model.Video
- toString() - Method in class com.attribyte.parser.page.LinkExtractor
- toString() - Method in class com.attribyte.parser.ParseError
- toString() - Method in class com.attribyte.parser.ParseResult
- transform(Document) - Method in interface com.attribyte.parser.ContentCleaner
-
Transforms the content of a document.
- transform(Document) - Method in class com.attribyte.parser.DefaultAMPCleaner
- transform(Document) - Method in class com.attribyte.parser.DefaultContentCleaner
- tryParseISO8601(String) - Static method in class com.attribyte.parser.DateParser
-
Try to parse date/time in ISO8601 format.
- tryParseRFC822(String) - Static method in class com.attribyte.parser.DateParser
-
Try to parse date/time in ISO8601 format.
- TwitterAPIParser - Class in com.attribyte.parser.entry
-
Parse a Twitter JSON document to create an entry.
- TwitterAPIParser() - Constructor for class com.attribyte.parser.entry.TwitterAPIParser
- type - Variable in class com.attribyte.parser.model.Link
-
The link type.
U
- UniversalParser - Class in com.attribyte.parser.entry
- UniversalParser() - Constructor for class com.attribyte.parser.entry.UniversalParser
-
Creates a universal parser with unknown content type.
- UniversalParser(String) - Constructor for class com.attribyte.parser.entry.UniversalParser
-
Creates a universal parser with a known content type.
- UNKNOWN - Enum constant in enum class com.attribyte.parser.Detector.Format
-
Format is unknown.
- unzip(File, File, Consumer<File>) - Static method in class com.attribyte.parser.Util
-
Unzip a file.
- updatedTimestamp - Variable in class com.attribyte.parser.model.Entry
-
The updated timestamp or
0if unknown. - updatedTimestamp - Variable in class com.attribyte.parser.model.Resource
-
The last updated timestamp or
0if unknown. - url - Variable in class com.attribyte.parser.model.OEmbedProvider.Endpoint
-
The endpoint URL.
- url - Variable in class com.attribyte.parser.model.OEmbedProvider
-
The provider URL.
- url - Variable in class com.attribyte.parser.model.SitemapLink
-
The URL.
- Util - Class in com.attribyte.parser
- Util() - Constructor for class com.attribyte.parser.Util
V
- valueOf(String) - Static method in enum class com.attribyte.json.JSONToJsoup.NullBehavior
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.attribyte.parser.Detector.Format
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.attribyte.parser.model.SitemapLink.ChangeFrequency
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.attribyte.json.JSONToJsoup.NullBehavior
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.attribyte.parser.Detector.Format
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.attribyte.parser.model.SitemapLink.ChangeFrequency
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variants - Variable in class com.attribyte.parser.model.Video
-
Variants of this video.
- Video - Class in com.attribyte.parser.model
-
An immutable video.
- Video.Builder - Class in com.attribyte.parser.model
-
Builds an immutable video.
- videos - Variable in class com.attribyte.parser.model.Entry
-
The immutable list of videos.
- videos - Variable in class com.attribyte.parser.model.Page
-
All videos found in the document.
- videos() - Method in class com.attribyte.parser.page.LinkExtractor
-
Gets all videos.
- videos(Document, Set<Video>) - Static method in class com.attribyte.parser.page.HTMLPageParser
-
Extract unique videos appearing in a document into a set.
W
- WEEKLY - Enum constant in enum class com.attribyte.parser.model.SitemapLink.ChangeFrequency
-
Changing weekly.
- width - Variable in class com.attribyte.parser.model.Aspect
-
The aspect ratio width.
- width - Variable in class com.attribyte.parser.model.Image
-
The image width or
0if unknown. - width - Variable in class com.attribyte.parser.model.Video
-
The video width or
0if unknown. - withContainerTag(String) - Method in class com.attribyte.parser.ContentSplitter
-
Create a copy of this content splitter with new container tag.
- withIgnoreTags(Set<String>) - Method in class com.attribyte.parser.ContentSplitter
-
Create a copy of this content splitter with different ignore tags.
- withMapTags(Map<String, Function<Element, List<Node>>>) - Method in class com.attribyte.parser.ContentSplitter
-
Create a copy of this content splitter with different map tag functions.
- withNewLink(String) - Method in class com.attribyte.parser.model.Audio
-
Creates a copy of this audio stream with a new link.
- withNewLink(String) - Method in class com.attribyte.parser.model.Image
-
Creates a copy of this image with a new link.
- withNewLink(String) - Method in class com.attribyte.parser.model.Video
-
Creates a copy of this video with a new link.
- withNewLink(String, String) - Method in class com.attribyte.parser.model.Audio
-
Creates a copy of this audio stream with a new link and type.
- withNewLink(String, String) - Method in class com.attribyte.parser.model.Video
-
Creates a copy of this video with a new link and media type.
- withNewLink(String, String, int) - Method in class com.attribyte.parser.model.Video
-
Creates a copy of this video with a new link, media type and bitreate.
- withPreserveTags(Set<String>) - Method in class com.attribyte.parser.ContentSplitter
-
Create a copy of this content splitter with different preserve tags.
- withVariants(Collection<Video>) - Method in class com.attribyte.parser.model.Video
-
Creates a copy of this video with variants.
- writeCleanDocument(OutputStream, boolean) - Method in class com.attribyte.parser.epub.EpubParser.EpubDocument
-
Write a cleaned, merged document to an output stream.
- writeDebug(File) - Method in class com.attribyte.parser.model.Page
-
Write debug output.
Y
- YEARLY - Enum constant in enum class com.attribyte.parser.model.SitemapLink.ChangeFrequency
-
Changing yearly.
All Classes and Interfaces|All Packages|Constant Field Values