IExtension

public interface IExtension

shosetsu-services 30 / May / 2019

Author

github.com/doomsdayrs

Inheritors

Types

Link copied to clipboard
public class Companion
Link copied to clipboard
@Serializable()
public final class ExMetaData
Link copied to clipboard
public final class Listing

This represents a "Page" that the source might have for listing novels.

Functions

Link copied to clipboard
public abstract String expandURL(String smallURL, Integer type)
Link copied to clipboard
public abstract String getBaseURL()

Base URL of the extension Used to open up in browser

Link copied to clipboard

Represents the data type of the chapters that getPassage returns

Link copied to clipboard

Meta data of the extension

Link copied to clipboard
public abstract Integer getFormatterID()

Formatter identification Separates this from other extensions Should be as unique as possible

Link copied to clipboard
public abstract Boolean getHasCloudFlare()

If this extension has cloudflare protection that requires interception

Link copied to clipboard
public abstract Boolean getHasSearch()

If this extension is capable of searching

Link copied to clipboard
public abstract String getImageURL()

Image URL of the extension Used for user recognition

Link copied to clipboard

Represents the different listings of this extension

Link copied to clipboard
public abstract String getName()

Name of this extension

Link copied to clipboard
public abstract ByteArray getPassage(String chapterURL)

Get the passage of a novel

Link copied to clipboard
public abstract Array<Filter<?>> getSearchFiltersModel()

Represents the filters models to be adjusted on the right

Link copied to clipboard
public abstract Array<Filter<?>> getSettingsModel()

Represents the settings model this extension provides

Link copied to clipboard
public abstract Integer getStartIndex()

Specifies what index should be used when incrementing pages.

Link copied to clipboard
public abstract Boolean isSearchIncrementing()

If this extensions search can be incremented

Link copied to clipboard
public abstract Novel.Info parseNovel(String novelURL, Boolean loadChapters)

Using the novel url, Requests for information on the novel

Link copied to clipboard
public abstract Array<Novel.Listing> search(Map<Integer, ?> data)
Link copied to clipboard
public abstract String shrinkURL(String longURL, Integer type)

Access class to shrink data of novels

Link copied to clipboard
public abstract Unit updateSetting(Integer id, Object value)

Applies a setting a value