- AbstractBean - Class in net.pterodactylus.util.beans
-
Abstract bean super class that contains property change listener management.
- AbstractBean() - Constructor for class net.pterodactylus.util.beans.AbstractBean
-
- AbstractCache<K,V> - Class in net.pterodactylus.util.cache
-
Abstract base implementation of a
Cache.
- AbstractCache(ValueRetriever<K, V>) - Constructor for class net.pterodactylus.util.cache.AbstractCache
-
Creates a new abstract cache.
- AbstractCommand - Class in net.pterodactylus.util.telnet
-
Abstract base implementation of a
Command.
- AbstractCommand(String, String) - Constructor for class net.pterodactylus.util.telnet.AbstractCommand
-
Creates a new command with the given name and description.
- AbstractCommand(String, String, String...) - Constructor for class net.pterodactylus.util.telnet.AbstractCommand
-
Creates a new command with the given name, brief description and detailed
description.
- AbstractCommand(String, String, List<String>) - Constructor for class net.pterodactylus.util.telnet.AbstractCommand
-
Creates a new command with the given name, brief description and detailed
description.
- AbstractDatabase - Class in net.pterodactylus.util.database
-
- AbstractDatabase() - Constructor for class net.pterodactylus.util.database.AbstractDatabase
-
- AbstractItemCache<T> - Class in net.pterodactylus.util.cache
-
- AbstractItemCache(ItemValueRetriever<T>) - Constructor for class net.pterodactylus.util.cache.AbstractItemCache
-
Creates a new abstract item cache.
- AbstractListenerManager<S,L extends EventListener> - Class in net.pterodactylus.util.event
-
Abstract implementation of a listener support class.
- AbstractListenerManager(S) - Constructor for class net.pterodactylus.util.event.AbstractListenerManager
-
Creates a new listener support that emits events from the given source.
- AbstractListenerManager(S, Executor) - Constructor for class net.pterodactylus.util.event.AbstractListenerManager
-
Creates a new listener support that emits events from the given source.
- AbstractNotification - Class in net.pterodactylus.util.notify
-
- AbstractNotification() - Constructor for class net.pterodactylus.util.notify.AbstractNotification
-
Creates a new notification with a random ID, the current time as creation
and last udpate time and is dismissable by the user.
- AbstractNotification(String) - Constructor for class net.pterodactylus.util.notify.AbstractNotification
-
Creates a new notification with the current time as creation and last
udpate time and is dismissable by the user.
- AbstractNotification(String, long) - Constructor for class net.pterodactylus.util.notify.AbstractNotification
-
Creates a new notification with the given time as creation and last
update time and is dismissable by the user.
- AbstractNotification(String, long, long) - Constructor for class net.pterodactylus.util.notify.AbstractNotification
-
Creates a new notification with the given creation and last update time
and is dismissable by the user.
- AbstractNotification(String, long, long, boolean) - Constructor for class net.pterodactylus.util.notify.AbstractNotification
-
Creates a new notification.
- AbstractPart - Class in net.pterodactylus.util.template
-
Abstract implementation of a
Part that adds a line number and column
number which can be used for
TemplateExceptions.
- AbstractPart(int, int) - Constructor for class net.pterodactylus.util.template.AbstractPart
-
Creates a new abstract part that was started by a tag at the given
location in the
TemplateParser’s input.
- AbstractService - Class in net.pterodactylus.util.service
-
- AbstractService() - Constructor for class net.pterodactylus.util.service.AbstractService
-
Constructs a new abstract service with an anonymous name.
- AbstractService(String) - Constructor for class net.pterodactylus.util.service.AbstractService
-
Constructs a new abstract service with the given name.
- AbstractService(String, ThreadFactory) - Constructor for class net.pterodactylus.util.service.AbstractService
-
Constructs a new abstract service with the given name.
- AbstractService(String, boolean) - Constructor for class net.pterodactylus.util.service.AbstractService
-
Constructs a new abstract service with the given name.
- AbstractService(String, boolean, ThreadFactory) - Constructor for class net.pterodactylus.util.service.AbstractService
-
Constructs a new abstract service with the given name.
- AbstractValue<T> - Class in net.pterodactylus.util.config
-
An abstract implementation of a
Value.
- AbstractValue(Configuration, String) - Constructor for class net.pterodactylus.util.config.AbstractValue
-
Creates a new value that reads its values from the given configuration
backend.
- Accessor - Interface in net.pterodactylus.util.template
-
An accessor can access member variables of objects of a given type.
- add(T) - Method in class net.pterodactylus.util.collection.Container
-
Creates and returns a new container that contains all elements of this
container and the given element, which is appended at the end.
- add(int, T) - Method in class net.pterodactylus.util.collection.Container
-
Creates and returns a new container that contains the elements of this
container with the given element inserted at the given index.
- add(T) - Method in class net.pterodactylus.util.collection.ListBuilder
-
Adds the given element to the list.
- add(T) - Method in class net.pterodactylus.util.collection.SetBuilder
-
Adds the given element to the set.
- add(WhereClause) - Method in class net.pterodactylus.util.database.AndWhereClause
-
Adds the given WHERE clause.
- add(WhereClause) - Method in class net.pterodactylus.util.database.OrWhereClause
-
Adds the given WHERE clause.
- add(T) - Method in class net.pterodactylus.util.storage.Storage
-
Adds a storable to this storage.
- add(E) - Method in class net.pterodactylus.util.swing.ListModelList
- add(int, E) - Method in class net.pterodactylus.util.swing.ListModelList
- add(MutableTreeNode) - Method in class net.pterodactylus.util.swing.SortableTreeNode
-
Adds the given node to this node as a child.
- add(int, T) - Method in class net.pterodactylus.util.swing.SortedListModel
- add(T) - Method in class net.pterodactylus.util.swing.SortedListModel
- addAccessor(Class<?>, Accessor) - Method in class net.pterodactylus.util.template.TemplateContext
-
Adds an accessor to this context.
- addAccessor(Class<?>, Accessor) - Method in class net.pterodactylus.util.template.TemplateContextFactory
-
Adds an accessor that will be added to all created templates.
- addAll(Collection<? extends T>) - Method in class net.pterodactylus.util.collection.ListBuilder
-
Adds all elements from the given collection to the list.
- addAll(Collection<? extends T>) - Method in class net.pterodactylus.util.collection.SetBuilder
-
Adds all elements from the given collection to the set.
- addAll(Collection<? extends E>) - Method in class net.pterodactylus.util.swing.ListModelList
- addAll(int, Collection<? extends E>) - Method in class net.pterodactylus.util.swing.ListModelList
- addAll(Collection<? extends T>) - Method in class net.pterodactylus.util.swing.SortedListModel
- addAll(int, Collection<? extends T>) - Method in class net.pterodactylus.util.swing.SortedListModel
- addChild(E) - Method in interface net.pterodactylus.util.data.Node
-
Adds an element as a child to this node and returns the created node.
- addCommand(Command) - Method in class net.pterodactylus.util.telnet.ControlConnection
-
Adds the given command to this control.
- addCommand(Command) - Method in class net.pterodactylus.util.telnet.TelnetControl
-
Adds the given command to this control.
- addComparator(Class<T>, Comparator<? super T>) - Method in class net.pterodactylus.util.template.CollectionSortFilter
-
Adds a comparator to use when an object of the given class is found as
first item in a collection’s iterator.
- addField(Field...) - Method in class net.pterodactylus.util.database.Query
-
Adds one or more fields to this query.
- addFilter(String, Filter) - Method in class net.pterodactylus.util.template.TemplateContext
-
Adds a filter to this context.
- addFilter(String, Filter) - Method in class net.pterodactylus.util.template.TemplateContextFactory
-
Adds the given filter to all created templates.
- addHeader(String, String) - Method in class net.pterodactylus.util.web.Response
-
Adds a header field with the given name and value to this response.
- addI18nable(I18nable) - Method in class net.pterodactylus.util.i18n.I18n
-
Adds an i18n listener that is notified when the language is changed or
additional sources add added or removed.
- addI18nable(I18nable, I18n.RemovalReference) - Method in class net.pterodactylus.util.i18n.I18n
-
Adds an i18n listener that is notified when the language is changed or
additional sources add added or removed.
- addJoin(Join...) - Method in class net.pterodactylus.util.database.Query
-
Adds one or more joins to this query.
- addLine(String) - Method in class net.pterodactylus.util.telnet.Command.Reply
-
Adds a line to the reply.
- addListDataListener(ListDataListener) - Method in class net.pterodactylus.util.swing.ListModelList
- addListener(L) - Method in class net.pterodactylus.util.event.AbstractListenerManager
-
Adds the given listener to the list of reigstered listeners.
- addLoggingListener(LoggingListener) - Static method in class net.pterodactylus.util.logging.Logging
-
Adds a listener to the log handler.
- addNotification(Notification) - Method in class net.pterodactylus.util.notify.NotificationManager
-
Adds the given notification.
- addNotificationListener(NotificationListener) - Method in class net.pterodactylus.util.notify.AbstractNotification
-
Adds the given notification listener.
- addNotificationListener(NotificationListener) - Method in interface net.pterodactylus.util.notify.Notification
-
Adds the given notification listener.
- addOrderField(OrderField...) - Method in class net.pterodactylus.util.database.Query
-
Adds one or more order fields to this query.
- addOutputLine(String) - Method in class net.pterodactylus.util.telnet.ControlConnection
-
Prints the given line to the output stream.
- addOutputLines(String...) - Method in class net.pterodactylus.util.telnet.ControlConnection
-
Prints the given lines to the output stream.
- addPlugin(String, Plugin) - Method in class net.pterodactylus.util.template.TemplateContext
-
Adds a plugin to this context.
- addPlugin(String, Plugin) - Method in class net.pterodactylus.util.template.TemplateContextFactory
-
Adds the given plugin to all created templates.
- addPropertyChangeListener(PropertyChangeListener) - Method in class net.pterodactylus.util.beans.AbstractBean
-
Adds a property change listener.
- addProvider(TemplateProvider) - Method in class net.pterodactylus.util.template.TemplateContext
-
- addProvider(TemplateProvider) - Method in class net.pterodactylus.util.template.TemplateContextFactory
-
Sets the template provider that is set on all created templates.
- addServiceListener(ServiceListener) - Method in class net.pterodactylus.util.service.AbstractService
-
Adds the given service listener to the list of service listeners that
will be notified on service events.
- addServiceListener(ServiceListener) - Method in interface net.pterodactylus.util.service.Service
-
Adds the given service listener to the list of service listeners that
will be notified on service events.
- addSideComponent(Component) - Method in class net.pterodactylus.util.swing.StatusBar
-
Adds a side component to the right side of the status bar, pushing all
previously added side components to the left.
- addSource(I18n.Source) - Method in class net.pterodactylus.util.i18n.I18n
-
Adds an additional l10n source.
- addTemplate(String, Template) - Method in class net.pterodactylus.util.template.DefaultTheme
-
Adds a template with the given name.
- addTemplateObject(String, Object) - Method in class net.pterodactylus.util.template.TemplateContextFactory
-
Adds an object that will be stored in all created templates.
- addTemplateProvider(TemplateProvider) - Method in class net.pterodactylus.util.template.TemplateContext
-
Adds a template provider to this context.
- addValidator(Validator<T>) - Method in class net.pterodactylus.util.validation.ValidatorContainer
-
Adds a validator to this validator container.
- addValue(String) - Method in class net.pterodactylus.util.web.Header
-
Adds the given value to this header field.
- addValueField(ValueField...) - Method in class net.pterodactylus.util.database.Query
-
Adds one or more value fields to this query.
- addWhereClause(WhereClause...) - Method in class net.pterodactylus.util.database.Query
-
Adds one or more WHERE clauses to this query.
- Allocation - Class in net.pterodactylus.util.storage
-
An allocation is stored in the allocation table of a
Storage.
- Allocation(long, int, int) - Constructor for class net.pterodactylus.util.storage.Allocation
-
Creates a new allocation table entry.
- Allocation.AllocationFactory - Class in net.pterodactylus.util.storage
-
- AllocationFactory() - Constructor for class net.pterodactylus.util.storage.Allocation.AllocationFactory
-
- AndValidator<T> - Class in net.pterodactylus.util.validation
-
Validator implementation that requires a number of other
Validators to validate an object.
- AndValidator() - Constructor for class net.pterodactylus.util.validation.AndValidator
-
Creates a new “AND” validator.
- AndValidator(Validator<T>...) - Constructor for class net.pterodactylus.util.validation.AndValidator
-
Creates a new “AND” validator.
- AndWhereClause - Class in net.pterodactylus.util.database
-
WhereClause implementation that performs an AND conjunction of an
arbitrary amount of where clauses.
- AndWhereClause() - Constructor for class net.pterodactylus.util.database.AndWhereClause
-
Creates a new AND where clause.
- AndWhereClause(WhereClause...) - Constructor for class net.pterodactylus.util.database.AndWhereClause
-
Creates a new AND where clause.
- AndWhereClause(Collection<WhereClause>) - Constructor for class net.pterodactylus.util.database.AndWhereClause
-
Creates a new AND where clause.
- append(String) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Appends a new XML node with the specified name and returns the new node.
- append(String, String) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Appends a new XML node with the specified name and value and returns the
new node.
- append(SimpleXML) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Appends the node with all its child nodes to this node and returns the
child node.
- ArrayMap<K,V> - Class in net.pterodactylus.util.collection
-
An
ArrayMap is a
Map implementation that is backed by arrays.
- ArrayMap() - Constructor for class net.pterodactylus.util.collection.ArrayMap
-
Creates a new array map with a default size of 10.
- ArrayMap(int) - Constructor for class net.pterodactylus.util.collection.ArrayMap
-
Creates a new array map with the given default size.
- Arrays - Class in net.pterodactylus.util.collection
-
Helper functions for working with arrays.
- Arrays() - Constructor for class net.pterodactylus.util.collection.Arrays
-
- asList() - Method in class net.pterodactylus.util.collection.Container
-
Returns the elements of this contains as a
List.
- attribute - Variable in class net.pterodactylus.util.config.AbstractValue
-
The name of the attribute this is the value for.
- AttributeNotFoundException - Exception in net.pterodactylus.util.config
-
Exception that will be thrown when a non-existing attribute is requested.
- AttributeNotFoundException() - Constructor for exception net.pterodactylus.util.config.AttributeNotFoundException
-
Constructs a new exception.
- AttributeNotFoundException(String) - Constructor for exception net.pterodactylus.util.config.AttributeNotFoundException
-
Constructs a new exception with the specified message.
- available() - Method in class net.pterodactylus.util.io.LimitedInputStream
-
- Cache<K,V> - Interface in net.pterodactylus.util.cache
-
Interface for caches with different strategies.
- CacheException - Exception in net.pterodactylus.util.cache
-
Exception that signals an error in cache management.
- CacheException() - Constructor for exception net.pterodactylus.util.cache.CacheException
-
Creates a new cache exception.
- CacheException(String) - Constructor for exception net.pterodactylus.util.cache.CacheException
-
Creates a new cache exception.
- CacheException(Throwable) - Constructor for exception net.pterodactylus.util.cache.CacheException
-
Creates a new cache exception.
- CacheException(String, Throwable) - Constructor for exception net.pterodactylus.util.cache.CacheException
-
Creates a new cache exception.
- CacheItem<V> - Interface in net.pterodactylus.util.cache
-
Wrapper interface for cached items.
- CachingConfigurationBackend - Class in net.pterodactylus.util.config
-
Configuration backend proxy that caches the attribute values it retrieves.
- CachingConfigurationBackend(ConfigurationBackend) - Constructor for class net.pterodactylus.util.config.CachingConfigurationBackend
-
Creates a new caching configuration backend that works as a proxy for the
specified configuration backend and caches all values it retrieves.
- center(Window) - Static method in class net.pterodactylus.util.swing.SwingUtils
-
Centers the given window on the primary screen.
- center(Window, Window) - Static method in class net.pterodactylus.util.swing.SwingUtils
-
Centers the given window over its owner window.
- ChainingTemplateProvider - Class in net.pterodactylus.util.template
-
- ChainingTemplateProvider(TemplateProvider...) - Constructor for class net.pterodactylus.util.template.ChainingTemplateProvider
-
Creates a new chaining template provider.
- changeExecutionTime(Object, long) - Method in class net.pterodactylus.util.thread.Ticker
-
Changes the execution time of the thread identified by the given object.
- check() - Method in class net.pterodactylus.util.validation.Validation
-
- children() - Method in class net.pterodactylus.util.swing.SortableTreeNode
- Classes - Class in net.pterodactylus.util.object
-
Helper class that simplifies handling of
Classes.
- Classes() - Constructor for class net.pterodactylus.util.object.Classes
-
- ClassPathTemplateProvider - Class in net.pterodactylus.util.template
-
- ClassPathTemplateProvider(Class<?>) - Constructor for class net.pterodactylus.util.template.ClassPathTemplateProvider
-
Creates a new class path template provider.
- ClassPathTemplateProvider(Class<?>, String) - Constructor for class net.pterodactylus.util.template.ClassPathTemplateProvider
-
Creates a new class path template provider.
- clear() - Method in interface net.pterodactylus.util.cache.Cache
-
Removes all cached values.
- clear() - Method in interface net.pterodactylus.util.cache.ItemCache
-
Clears the cache.
- clear() - Method in class net.pterodactylus.util.cache.MemoryCache
-
- clear() - Method in class net.pterodactylus.util.cache.MemoryItemCache
-
Clears the cache.
- clear() - Method in class net.pterodactylus.util.collection.ArrayMap
- clear() - Method in class net.pterodactylus.util.collection.TimedMap
- clear() - Method in class net.pterodactylus.util.config.CachingConfigurationBackend
-
Clears the current cache, causing the all further lookups to be repeated.
- clear() - Method in class net.pterodactylus.util.swing.ListModelList
- clear() - Method in class net.pterodactylus.util.swing.SortedListModel
- clear() - Method in class net.pterodactylus.util.swing.StatusBar
-
Clears the status bar.
- clearDirtyFlag() - Method in class net.pterodactylus.util.database.DataObject
-
Clears the dirty flag.
- close() - Method in class net.pterodactylus.util.io.BitShiftedOutputStream
- close(ResultSet) - Static method in class net.pterodactylus.util.io.Closer
-
Closes the given result set.
- close(Statement) - Static method in class net.pterodactylus.util.io.Closer
-
Closes the given statement.
- close(Connection) - Static method in class net.pterodactylus.util.io.Closer
-
Closes the given connection.
- close(ServerSocket) - Static method in class net.pterodactylus.util.io.Closer
-
Closes the given server socket.
- close(Socket) - Static method in class net.pterodactylus.util.io.Closer
-
Closes the given socket.
- close(InputStream) - Static method in class net.pterodactylus.util.io.Closer
-
Closes the given input stream.
- close(OutputStream) - Static method in class net.pterodactylus.util.io.Closer
-
Closes the given output stream.
- close(Reader) - Static method in class net.pterodactylus.util.io.Closer
-
Closes the given reader.
- close(Writer) - Static method in class net.pterodactylus.util.io.Closer
-
Closes the given writer.
- close(JarFile) - Static method in class net.pterodactylus.util.io.Closer
-
Closes the given jar file.
- close(Closeable) - Static method in class net.pterodactylus.util.io.Closer
-
- close(Object) - Static method in class net.pterodactylus.util.io.Closer
-
Tries to call the close() method on the given object.
- close() - Method in class net.pterodactylus.util.io.TeeOutputStream
-
An effort is made to close all output streams.
- close() - Method in class net.pterodactylus.util.io.TemporaryInputStream
- close() - Method in class net.pterodactylus.util.storage.Storage
- Closer - Class in net.pterodactylus.util.io
-
Helper class that can close all kinds of resources without throwing exception
so that clean-up code can be written with less code.
- Closer() - Constructor for class net.pterodactylus.util.io.Closer
-
- closest(Class<?>, Collection<? extends Class<?>>) - Static method in class net.pterodactylus.util.object.Classes
-
Returns the class from classes that is closest to the given
target class.
- collection() - Method in class net.pterodactylus.util.collection.IterableWrapper
-
Returns all elements contained in the wrapped iterable as a new
Collection.
- CollectionSortFilter - Class in net.pterodactylus.util.template
-
- CollectionSortFilter() - Constructor for class net.pterodactylus.util.template.CollectionSortFilter
-
- ComboBoxModelList<E> - Class in net.pterodactylus.util.swing
-
- ComboBoxModelList(List<E>) - Constructor for class net.pterodactylus.util.swing.ComboBoxModelList
-
Creates a new combo box model list that wraps the given list.
- Command - Interface in net.pterodactylus.util.telnet
-
Basic structure of a command that can be sent to a
TelnetControl.
- Command.Reply - Class in net.pterodactylus.util.telnet
-
- CommandLine - Class in net.pterodactylus.util.cmdline
-
Command-line parser.
- CommandLine(String[], Collection<Option>) - Constructor for class net.pterodactylus.util.cmdline.CommandLine
-
Creates a new command line and parses the given command-line arguments
according to the given options.
- CommandLine(String[], Option...) - Constructor for class net.pterodactylus.util.cmdline.CommandLine
-
Creates a new command line and parses the given command-line arguments
according to the given options.
- CommandLineException - Exception in net.pterodactylus.util.cmdline
-
Exception that signals an error in command-line argument parsing.
- CommandLineException() - Constructor for exception net.pterodactylus.util.cmdline.CommandLineException
-
Creates a new command-line exception.
- CommandLineException(String) - Constructor for exception net.pterodactylus.util.cmdline.CommandLineException
-
Creates a new command-line exception with the given message.
- CommandLineException(Throwable) - Constructor for exception net.pterodactylus.util.cmdline.CommandLineException
-
Creates a new command-line exception with the given cause.
- CommandLineException(String, Throwable) - Constructor for exception net.pterodactylus.util.cmdline.CommandLineException
-
Creates a new command-line exception with the given message and cause.
- compact() - Method in class net.pterodactylus.util.storage.Storage
-
Compacts the directory.
- ComparablePair<S extends Comparable<S>,T extends Comparable<T>> - Class in net.pterodactylus.util.collection
-
Container for two
Comparable objects that are tied together.
- ComparablePair(S, T) - Constructor for class net.pterodactylus.util.collection.ComparablePair
-
Creates a new pair consisting of the two values.
- compare(T, T) - Method in class net.pterodactylus.util.collection.ReverseComparator
-
- compareTo(ComparablePair<S, T>) - Method in class net.pterodactylus.util.collection.ComparablePair
-
- compareTo(State) - Method in class net.pterodactylus.util.service.State
-
Compares this state to the given state.
- compareTo(Version) - Method in class net.pterodactylus.util.version.Version
- configuration - Variable in class net.pterodactylus.util.config.AbstractValue
-
The configuration that created this value.
- Configuration - Class in net.pterodactylus.util.config
-
A configuration contains all necessary methods to read integral data types
from a
ConfigurationBackend.
- Configuration(ConfigurationBackend) - Constructor for class net.pterodactylus.util.config.Configuration
-
Creates a new configuration that operates on the given backend.
- ConfigurationBackend - Interface in net.pterodactylus.util.config
-
Interface for backends that can read and (optionally) write values at given
attribute names.
- ConfigurationException - Exception in net.pterodactylus.util.config
-
Parent exception for all exceptions that can occur during configuration file
parsing.
- ConfigurationException() - Constructor for exception net.pterodactylus.util.config.ConfigurationException
-
Constructs a new configuration exception.
- ConfigurationException(String) - Constructor for exception net.pterodactylus.util.config.ConfigurationException
-
Constructs a new configuration exception with the specified message
- ConfigurationException(String, Throwable) - Constructor for exception net.pterodactylus.util.config.ConfigurationException
-
Constructs a new configuration exception with the specified message and
cause.
- ConfigurationException(Throwable) - Constructor for exception net.pterodactylus.util.config.ConfigurationException
-
Constructs a new configuration exception with the specified cause.
- consume() - Method in class net.pterodactylus.util.io.LimitedInputStream
-
Consumes the input stream, i.e. read all bytes until the limit is
reached.
- Container<T> - Class in net.pterodactylus.util.collection
-
A container stores an arbitrary amounts of elements, allowing easy filtering,
mapping, and processing of the elements.
- Container() - Constructor for class net.pterodactylus.util.collection.Container
-
Creates an empty container.
- Container(T) - Constructor for class net.pterodactylus.util.collection.Container
-
Creates a container that stores the given element.
- Container(T[]) - Constructor for class net.pterodactylus.util.collection.Container
-
Creates a new container and stores the given elements.
- Container(Collection<? extends T>) - Constructor for class net.pterodactylus.util.collection.Container
-
Creates a new container from the given collection.
- Container(Iterable<? extends T>) - Constructor for class net.pterodactylus.util.collection.Container
-
Creates a new container from the given iterable.
- Container(Iterator<? extends T>) - Constructor for class net.pterodactylus.util.collection.Container
-
Creates a new container from the given iterator.
- contains(K) - Method in interface net.pterodactylus.util.cache.Cache
-
Checks whether this cache contains a value for the given key.
- contains(K) - Method in class net.pterodactylus.util.cache.MemoryCache
-
- contains(T) - Method in class net.pterodactylus.util.collection.Container
-
Returns whether the given element is stored in this container.
- contains(Object) - Method in class net.pterodactylus.util.swing.ListModelList
- contains(Object) - Method in class net.pterodactylus.util.swing.SortedListModel
- containsAll(Collection<?>) - Method in class net.pterodactylus.util.swing.ListModelList
- containsAll(Collection<?>) - Method in class net.pterodactylus.util.swing.SortedListModel
- ContainsFilter - Class in net.pterodactylus.util.template
-
Filter implementation that returns a boolean, depending on whether
the object being filtered is contained in a
Collection that is given
as parameter to this filter.
- ContainsFilter() - Constructor for class net.pterodactylus.util.template.ContainsFilter
-
- containsKey(Object) - Method in class net.pterodactylus.util.collection.ArrayMap
- containsKey(Object) - Method in class net.pterodactylus.util.collection.TimedMap
- containsValue(Object) - Method in class net.pterodactylus.util.collection.ArrayMap
- containsValue(Object) - Method in class net.pterodactylus.util.collection.TimedMap
- ControlConnection - Class in net.pterodactylus.util.telnet
-
Handles a single client connection.
- ControlConnection(InputStream, OutputStream) - Constructor for class net.pterodactylus.util.telnet.ControlConnection
-
Creates a new connection handler for a client on the given socket.
- convert(I) - Method in interface net.pterodactylus.util.collection.Converter
-
Deprecated.
Converts the given input object into another object.
- Converter<I,O> - Interface in net.pterodactylus.util.collection
-
- Converters - Class in net.pterodactylus.util.collection
-
- Converters() - Constructor for class net.pterodactylus.util.collection.Converters
-
Deprecated.
- convertList(List<I>, Converter<I, O>) - Static method in class net.pterodactylus.util.collection.Converters
-
Deprecated.
Converts all objects in the given list and returns a list that contains
the converted objects in the same order as the input objects in the
original list.
- convertSet(Set<I>, Converter<I, O>) - Static method in class net.pterodactylus.util.collection.Converters
-
Deprecated.
Converts all objects in the given list and returns a list that contains
the converted objects.
- copy(InputStream, OutputStream, StreamCopier.ProgressListener, long) - Static method in class net.pterodactylus.util.io.StreamCopier
-
Copies length bytes from the source input stream to the
destination output stream.
- copy(InputStream, OutputStream, long) - Static method in class net.pterodactylus.util.io.StreamCopier
-
Copies length bytes from the source input stream to the
destination output stream.
- copy(InputStream, OutputStream, StreamCopier.ProgressListener) - Static method in class net.pterodactylus.util.io.StreamCopier
-
Copies as many bytes as possible (i.e. until
InputStream.read()
returns
-1) from the source input stream to the destination
output stream.
- copy(InputStream, OutputStream) - Static method in class net.pterodactylus.util.io.StreamCopier
-
Copies as many bytes as possible (i.e. until
InputStream.read()
returns
-1) from the source input stream to the destination
output stream.
- CountField - Class in net.pterodactylus.util.database
-
Convenience
Field implementation that creates a field that returns
the count of all rows.
- CountField() - Constructor for class net.pterodactylus.util.database.CountField
-
Creates a new count field.
- create(int) - Static method in class net.pterodactylus.util.collection.Range
-
Creates a new range from 0 (inclusive) to the given upper bound
(exclusive).
- create(int, int) - Static method in class net.pterodactylus.util.collection.Range
-
Creates a new range from the given lower bound (inclusive) to the given
upper bound (exclusive).
- create(long) - Static method in class net.pterodactylus.util.collection.Range
-
Creates a new range from 0 (inclusive) to the given upper bound
(exclusive).
- create(long, long) - Static method in class net.pterodactylus.util.collection.Range
-
Creates a new range from the given lower bound (inclusive) to the given
upper bound (exclusive).
- create(Database, DataObjectFactory<D>, ValueField...) - Static method in class net.pterodactylus.util.database.DataObject
-
Creates a new data object with the given value fields.
- CREATED_TIME_SORTER - Static variable in interface net.pterodactylus.util.notify.Notification
-
Sorts notifications by creation time, oldest first.
- createDocument() - Static method in class net.pterodactylus.util.xml.XML
-
Creates a new XML document.
- createHeader(String, String) - Static method in class net.pterodactylus.util.web.Response
-
Creates a header map containing a single header.
- createObject(ResultSet) - Method in class net.pterodactylus.util.database.MapCreator
-
- createObject(ResultSet) - Method in interface net.pterodactylus.util.database.ObjectCreator
-
Creates a new object from the current row in the given result set.
- createObject(ResultSet) - Method in class net.pterodactylus.util.database.ObjectCreator.IntegerCreator
-
- createObject(ResultSet) - Method in class net.pterodactylus.util.database.ObjectCreator.StringCreator
-
- createObject(ResultSet) - Method in class net.pterodactylus.util.database.PairCreator
-
- createStatement(Connection) - Method in class net.pterodactylus.util.database.Query
-
Creates an SQL statement from the given connection and prepares it for
execution.
- createTemplateContext() - Method in class net.pterodactylus.util.template.TemplateContextFactory
-
Creates a new template context that contains the accessors, filters,
plugins, template providers, and objects set in this factory.
- crop(int) - Method in class net.pterodactylus.util.collection.Container
-
Returns a container that contains only the element at the given index.
- crop(int, int) - Method in class net.pterodactylus.util.collection.Container
-
Returns a container that contains a part of this container, starting at
the index start (inclusive) and ending at the index end
(exclusive).
- currentBitPosition - Variable in class net.pterodactylus.util.io.BitShiftedInputStream
-
The current bit position in the underlying input stream.
- CurrentThreadExecutor - Class in net.pterodactylus.util.thread
-
- CurrentThreadExecutor() - Constructor for class net.pterodactylus.util.thread.CurrentThreadExecutor
-
- currentValue - Variable in class net.pterodactylus.util.io.BitShiftedInputStream
-
The current value from the underlying input stream.
- FACTORY - Static variable in class net.pterodactylus.util.storage.Allocation
-
- Factory<T> - Interface in net.pterodactylus.util.storage
-
Interface for factory classes that can create objects from a byte array.
- Field - Class in net.pterodactylus.util.database
-
A field stores the name of a database column.
- Field(String) - Constructor for class net.pterodactylus.util.database.Field
-
Creates a new field.
- FilesystemTemplateProvider - Class in net.pterodactylus.util.template
-
- FilesystemTemplateProvider(String) - Constructor for class net.pterodactylus.util.template.FilesystemTemplateProvider
-
Creates a new filesystem template provider that looks for template files
at the given source path.
- filter(Filter<T>) - Method in class net.pterodactylus.util.collection.Container
-
Filters the elements of this container through the given filter.
- Filter<T> - Interface in net.pterodactylus.util.collection.filter
-
Interface for a filter that determines whether a certain action can be
performed on an object based on its properties.
- filter(Filter<? super T>) - Method in class net.pterodactylus.util.collection.IterableWrapper
-
Creates a new wrapper around the iterable that will have its elements
filtered by the given filter.
- filter(Filter<? super T>) - Method in class net.pterodactylus.util.collection.IteratorWrapper
-
Creates a new iterator wrapper that will apply the given filter to all
values returned by this wrapper’s iterator.
- Filter - Interface in net.pterodactylus.util.template
-
Filters can be used to transform the contents of a variable into some other
representation.
- filter(int, int, TemplateContext, Object) - Method in class net.pterodactylus.util.template.TemplateParser.Filters
-
Filters the given object through all filters.
- FilterDefinition(String, Map<String, String>) - Constructor for class net.pterodactylus.util.template.TemplateParser.FilterDefinition
-
Creates a new filter definition.
- filteredCollection(Collection<K>, Filter<? super K>) - Static method in class net.pterodactylus.util.collection.filter.Filters
-
Returns a collection that contains only the elements from the given
collection that match the given filter.
- FilteredIterable<T> - Class in net.pterodactylus.util.collection.filter
-
- FilteredIterable(Iterable<T>, Filter<? super T>) - Constructor for class net.pterodactylus.util.collection.filter.FilteredIterable
-
Creates a new iterable filter.
- FilteredIterator<T> - Class in net.pterodactylus.util.collection.filter
-
Wrapper around an
Iterator that applies a
Filter on the
wrapper iterator, suppressing items that do not match the filter.
- FilteredIterator(Iterator<T>, Filter<? super T>) - Constructor for class net.pterodactylus.util.collection.filter.FilteredIterator
-
Creates a new filtered iterator.
- filteredIterator(Iterator<E>, Filter<? super E>) - Static method in class net.pterodactylus.util.collection.filter.Filters
-
Returns an iterator that contains only the elements from the given
iterator that match the given filter.
- filteredList(List<E>, Filter<? super E>) - Static method in class net.pterodactylus.util.collection.filter.Filters
-
Returns a list that contains only the elements from the given list that
match the given filter.
- filteredMap(Map<K, V>, Filter<Map.Entry<K, V>>) - Static method in class net.pterodactylus.util.collection.filter.Filters
-
Returns a map that contains only the elements from the given map that
match the given filter.
- filteredSet(Set<E>, Filter<? super E>) - Static method in class net.pterodactylus.util.collection.filter.Filters
-
Returns a set that contains only the elements from the given set that
match the given filter.
- filterObject(T) - Method in interface net.pterodactylus.util.collection.filter.Filter
-
Runs the given object through this filter and return whether the object
matches this filter or not.
- filterObject(T) - Method in class net.pterodactylus.util.collection.filter.MatchAllFilter
-
Runs the given object through this filter and return whether the object
matches this filter or not.
- filterObject(Object) - Method in class net.pterodactylus.util.collection.filter.NotNullFilter
-
Runs the given object through this filter and return whether the object
matches this filter or not.
- Filters - Class in net.pterodactylus.util.collection.filter
-
- Filters() - Constructor for class net.pterodactylus.util.collection.filter.Filters
-
- Filters() - Constructor for class net.pterodactylus.util.template.TemplateParser.Filters
-
- findChild(E) - Method in interface net.pterodactylus.util.data.Node
-
Searches this node’s children recursively for a node that contains the
given element.
- findLength(InputStream) - Static method in class net.pterodactylus.util.io.StreamCopier
-
- finish() - Method in class net.pterodactylus.util.thread.StoppableDelay
-
Marks the long-running operation as finished and runs the appropriate
runnable.
- fireIfPropertyChanged(String, Object, Object) - Method in class net.pterodactylus.util.beans.AbstractBean
-
Fires a property change event if the two values are not equal.
- firePropertyChange(String, Object, Object) - Method in class net.pterodactylus.util.beans.AbstractBean
-
Notifies all listeners that a property has changed.
- fireServiceStarted() - Method in class net.pterodactylus.util.service.ServiceListenerManager
-
Notifies listeners that a
Service has been started.
- fireServiceStateChanged(State, State) - Method in class net.pterodactylus.util.service.ServiceListenerManager
-
- fireServiceStopped(Throwable) - Method in class net.pterodactylus.util.service.ServiceListenerManager
-
Notifies listeners that a
Service has been stopped.
- first() - Method in class net.pterodactylus.util.collection.Looper.Looped
-
Returns whether the wrapped element is the first element of the
iterator.
- flush() - Method in class net.pterodactylus.util.io.BitShiftedOutputStream
-
Flushes all unwritten data to the underlying output stream.
- flush(int) - Method in class net.pterodactylus.util.io.BitShiftedOutputStream
-
Flushes this output stream, writing all unwritten values to the
underlying output stream.
- flush(Flushable) - Static method in class net.pterodactylus.util.io.Closer
-
Flushes the given flushable, swallowing any
IOException that may
occur.
- flush(Object) - Static method in class net.pterodactylus.util.io.Closer
-
Flushes the given object by calling a method called “flush” without
parameters, swallowing any
IOException that may occur.
- flush() - Method in class net.pterodactylus.util.io.TeeOutputStream
-
An effort is made to flush all output streams.
- format(long, int) - Static method in class net.pterodactylus.util.number.Digits
-
Zero-pads the given value until it is at least the specified length in
digits.
- format(long) - Static method in class net.pterodactylus.util.number.SI
-
Formats the specified number using 1000-based units.
- format(long, boolean) - Static method in class net.pterodactylus.util.number.SI
-
Formats the specified number using the specified units.
- format(long, boolean, boolean) - Static method in class net.pterodactylus.util.number.SI
-
Formats the specified number using the specified units.
- format(long, int, boolean, boolean) - Static method in class net.pterodactylus.util.number.SI
-
Formats the specified number using the specified units.
- format(TemplateContext, Object, Map<String, Object>) - Method in class net.pterodactylus.util.template.CollectionSortFilter
-
Formats the given data object.
- format(TemplateContext, Object, Map<String, Object>) - Method in class net.pterodactylus.util.template.ContainsFilter
-
Formats the given data object.
- format(TemplateContext, Object, Map<String, Object>) - Method in class net.pterodactylus.util.template.DateFilter
-
Formats the given data object.
- format(TemplateContext, Object, Map<String, Object>) - Method in class net.pterodactylus.util.template.DefaultFilter
-
Formats the given data object.
- format(TemplateContext, Object, Map<String, Object>) - Method in interface net.pterodactylus.util.template.Filter
-
Formats the given data object.
- format(TemplateContext, Object, Map<String, Object>) - Method in class net.pterodactylus.util.template.FormatFilter
-
Formats the given data object.
- format(TemplateContext, Object, Map<String, Object>) - Method in class net.pterodactylus.util.template.HtmlFilter
-
Formats the given data object.
- format(TemplateContext, Object, Map<String, Object>) - Method in class net.pterodactylus.util.template.InsertFilter
-
Formats the given data object.
- format(TemplateContext, Object, Map<String, Object>) - Method in class net.pterodactylus.util.template.MatchFilter
-
Formats the given data object.
- format(TemplateContext, Object, Map<String, Object>) - Method in class net.pterodactylus.util.template.ModFilter
-
Formats the given data object.
- format(TemplateContext, Object, Map<String, Object>) - Method in class net.pterodactylus.util.template.PaginationFilter
-
Formats the given data object.
- format(TemplateContext, Object, Map<String, Object>) - Method in class net.pterodactylus.util.template.RemoveFilter
-
Formats the given data object.
- format(TemplateContext, Object, Map<String, Object>) - Method in class net.pterodactylus.util.template.ReplaceFilter
-
Formats the given data object.
- format(TemplateContext, Object, Map<String, Object>) - Method in class net.pterodactylus.util.template.StoreFilter
-
Formats the given data object.
- format(TemplateContext, Object, Map<String, Object>) - Method in class net.pterodactylus.util.template.XmlFilter
-
Formats the given data object.
- format(double, StringBuffer, FieldPosition) - Method in class net.pterodactylus.util.text.RegularExpressionNumberFormat
- format(long, StringBuffer, FieldPosition) - Method in class net.pterodactylus.util.text.RegularExpressionNumberFormat
- formatBinary(long) - Static method in class net.pterodactylus.util.number.SI
-
Formats the specified number using 1024-based units.
- FormatFilter - Class in net.pterodactylus.util.template
-
Filter implementation that formats the given data according to a
given format, as per
Formatter.
- FormatFilter() - Constructor for class net.pterodactylus.util.template.FormatFilter
-
- formatFractions(double, int, boolean) - Static method in class net.pterodactylus.util.number.Digits
-
Returns the given value formatted with the given number of fractional
digits, showing final zeroes as well.
- FormattedMessage - Class in net.pterodactylus.util.text
-
Container for a formatted message, consisting of a text format and
parameters.
- FormattedMessage(String, Object...) - Constructor for class net.pterodactylus.util.text.FormattedMessage
-
Creates a new formatted message.
- forNull(T, T) - Static method in class net.pterodactylus.util.object.Default
-
Returns the given value if it is non-null, or the default value
if the given value is null.
- fromArray(T[]) - Static method in class net.pterodactylus.util.collection.Iterables
-
- fromArray(T[]) - Static method in class net.pterodactylus.util.collection.Iterators
-
Returns an
Iterator over the given elements.
- fromDataSource(DataSource) - Static method in class net.pterodactylus.util.database.AbstractDatabase
-
- fromDocument(Document) - Static method in class net.pterodactylus.util.xml.SimpleXML
-
Creates a SimpleXML node from the specified
Document.
- fromEnumeration(Enumeration<T>) - Static method in class net.pterodactylus.util.collection.Iterators
-
Returns an iterator wrapped around the given enumeration.
- GarbageCollectionCommand - Class in net.pterodactylus.util.telnet
-
Command that performs a garbage collection.
- GarbageCollectionCommand() - Constructor for class net.pterodactylus.util.telnet.GarbageCollectionCommand
-
Creates a new garbage collection command.
- get(K) - Method in interface net.pterodactylus.util.cache.Cache
-
Returns a value from the cache.
- get() - Method in interface net.pterodactylus.util.cache.ItemCache
-
Returns the cached item.
- get(K) - Method in class net.pterodactylus.util.cache.MemoryCache
-
- get() - Method in class net.pterodactylus.util.cache.MemoryItemCache
-
Returns the cached item.
- get() - Method in class net.pterodactylus.util.cache.TimedMemoryItemCache
-
Returns the cached item.
- get(Object) - Method in class net.pterodactylus.util.collection.ArrayMap
- get() - Method in class net.pterodactylus.util.collection.Container
-
Returns the first element of this container, or null if this
container is empty.
- get(T) - Method in class net.pterodactylus.util.collection.Container
-
Returns the first element of this container, or the default value if this
container is empty.
- get() - Method in class net.pterodactylus.util.collection.IterableWrapper
-
Returns the first element of an iterator created by the wrapped iterable.
- get(T) - Method in class net.pterodactylus.util.collection.IterableWrapper
-
Returns the first element of an iterator created by the wrapped iterable,
or the given default value if the iterator does not contain any elements.
- get() - Method in class net.pterodactylus.util.collection.ListBuilder
-
Returns the populated list.
- get() - Method in class net.pterodactylus.util.collection.Looper.Looped
-
Returns the wrapped element.
- get() - Method in class net.pterodactylus.util.collection.MapBuilder
-
Returns the populated map.
- get() - Method in class net.pterodactylus.util.collection.Memoizer
-
Returns the memoized value.
- get() - Method in class net.pterodactylus.util.collection.Once
-
Returns the wrapped object, or an “empty object” (might be
null)
if the object has already been retrieved by an earlier call to
Once.get().
- get() - Method in class net.pterodactylus.util.collection.SetBuilder
-
Returns the populated set.
- get(Object) - Method in class net.pterodactylus.util.collection.TimedMap
- get(String, Object...) - Method in class net.pterodactylus.util.i18n.I18n
-
Returns the translated value for the given key.
- get(String) - Method in class net.pterodactylus.util.notify.TemplateNotification
-
Returns the template variable with the given name.
- get(int) - Method in class net.pterodactylus.util.swing.ListModelList
- get(int) - Method in class net.pterodactylus.util.swing.SortedListModel
- get(TemplateContext, Object, String) - Method in interface net.pterodactylus.util.template.Accessor
-
Returns the member with the given name.
- get(TemplateContext, Object, String) - Method in class net.pterodactylus.util.template.ListAccessor
-
Returns the member with the given name.
- get(TemplateContext, Object, String) - Method in class net.pterodactylus.util.template.ReflectionAccessor
-
Returns the member with the given name.
- get(String) - Method in class net.pterodactylus.util.template.TemplateContext
-
Returns the object with the given name.
- get(String, Class<?>) - Method in class net.pterodactylus.util.template.TemplateContext
-
Returns the object with the given name, if its class is assignable to the
given class.
- get() - Method in class net.pterodactylus.util.thread.ObjectWrapper
-
Returns the wrapped object.
- getAccessor(Class<?>) - Method in class net.pterodactylus.util.template.TemplateContext
-
Returns the accessor for the given class.
- getAction() - Method in class net.pterodactylus.util.service.AbstractService
-
Returns the current action of the service.
- getAction() - Method in interface net.pterodactylus.util.service.Service
-
Returns the current action of the service.
- getAction() - Method in interface net.pterodactylus.util.service.ServiceMBean
-
Returns the current action of the service.
- getAllMimeTypes() - Static method in class net.pterodactylus.util.io.MimeTypes
-
Returns a list of all known MIME types.
- getAllocation(int) - Method in class net.pterodactylus.util.storage.Storage
-
Returns the allocation at the given directory index.
- getAllowsChildren() - Method in class net.pterodactylus.util.swing.SortableTreeNode
- getAppendix() - Method in class net.pterodactylus.util.version.Version
-
Returns the optional appendix.
- getArguments() - Method in class net.pterodactylus.util.cmdline.CommandLine
-
Returns all remaining arguments from the original command-line arguments.
- getAttribute() - Method in exception net.pterodactylus.util.config.AttributeNotFoundException
-
Returns the requested, non-existing attribute's name.
- getAttribute(String) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Returns the value of the attribute with the given name.
- getAttribute(String, String) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Returns the value of the attribute with the given name.
- getAttributeNames() - Method in class net.pterodactylus.util.xml.SimpleXML
-
Returns all attributes’ names.
- getBasicState() - Method in class net.pterodactylus.util.service.State
-
Returns the basic state of this state.
- getBooleanValue(String) - Method in class net.pterodactylus.util.config.Configuration
-
Returns the boolean value stored at the given attribute.
- getBooleanValue(String) - Method in interface net.pterodactylus.util.config.ExtendedConfigurationBackend
-
Returns the value of the given attribute from the backend.
- getBriefDescription() - Method in class net.pterodactylus.util.telnet.AbstractCommand
-
Returns a brief description of this command.
- getBriefDescription() - Method in interface net.pterodactylus.util.telnet.Command
-
Returns a brief description of this command.
- getBuffer() - Method in class net.pterodactylus.util.storage.Allocation
-
Writes the contents of this Storable to a byte array.
- getBuffer() - Method in interface net.pterodactylus.util.storage.Storable
-
Writes the contents of this Storable to a byte array.
- getChar(byte[], int) - Static method in class net.pterodactylus.util.storage.Storable.Utils
-
Returns a char from the byte array.
- getChild(int) - Method in interface net.pterodactylus.util.data.Node
-
Returns the child at the given index.
- getChild(E) - Method in interface net.pterodactylus.util.data.Node
-
Returns the direct child node that contains the given element.
- getChildAt(int) - Method in class net.pterodactylus.util.swing.SortableTreeNode
- getChildCount() - Method in class net.pterodactylus.util.swing.SortableTreeNode
- getChildNode(Node, String) - Static method in class net.pterodactylus.util.xml.DOMUtil
-
Returns the first child node of the given root node that has the given
name.
- getChildNodes(Node, String) - Static method in class net.pterodactylus.util.xml.DOMUtil
-
Returns all child nodes of the given root node with the given name.
- getClassLoader() - Method in class net.pterodactylus.util.i18n.I18n.Source
-
Returns the source’s class loader.
- getColumn() - Method in class net.pterodactylus.util.template.AbstractPart
-
Returns the column number of the tag.
- getColumn() - Method in exception net.pterodactylus.util.template.TemplateException
-
Returns the column number of the erroneous tag, if any.
- getConnection() - Method in class net.pterodactylus.util.database.AbstractDatabase
-
Creates a new connection to the database.
- getConnection() - Method in class net.pterodactylus.util.database.PooledDataSource
-
- getConnection(String, String) - Method in class net.pterodactylus.util.database.PooledDataSource
-
- getConnection() - Method in class net.pterodactylus.util.database.URLDataSource
- getConnection(String, String) - Method in class net.pterodactylus.util.database.URLDataSource
- getContent() - Method in class net.pterodactylus.util.web.Response
-
Returns the output stream the response body has to be written to.
- getContentType() - Method in class net.pterodactylus.util.web.Response
-
Returns the content type of the response.
- getCounter() - Method in class net.pterodactylus.util.cmdline.Option
-
Returns the counter of the option.
- getCreatedTime() - Method in class net.pterodactylus.util.notify.AbstractNotification
-
Returns the time when this notifiation was created.
- getCreatedTime() - Method in interface net.pterodactylus.util.notify.Notification
-
Returns the time when this notifiation was created.
- getDays() - Method in class net.pterodactylus.util.time.Duration
-
Returns the number of days in the last week of this duration
- getDefaultLocale() - Method in class net.pterodactylus.util.i18n.I18n.Source
-
Returns the default locale of the source.
- getDetailedDescription() - Method in class net.pterodactylus.util.telnet.AbstractCommand
-
Returns a detailed description of this command.
- getDetailedDescription() - Method in interface net.pterodactylus.util.telnet.Command
-
Returns a detailed description of this command.
- getDirectorySize() - Method in class net.pterodactylus.util.storage.Storage
-
Returns the size of the directory.
- getDocument() - Method in class net.pterodactylus.util.xml.SimpleXML
-
Creates a
Document from this node and all its child nodes.
- getDoubleValue(String) - Method in class net.pterodactylus.util.config.Configuration
-
Returns the double value stored at the given attribute.
- getDoubleValue(String) - Method in interface net.pterodactylus.util.config.ExtendedConfigurationBackend
-
Returns the value of the given attribute from the backend.
- getDuration() - Method in class net.pterodactylus.util.time.Duration
-
Returns the length of this duration.
- getElement() - Method in interface net.pterodactylus.util.data.Node
-
Returns the element that is stored in the node.
- getElementAt(int) - Method in class net.pterodactylus.util.swing.ListModelList
- getElementAt(int) - Method in class net.pterodactylus.util.swing.SortedListModel
- getExecutor() - Method in class net.pterodactylus.util.event.AbstractListenerManager
-
Returns the executor for the event firing.
- getField() - Method in class net.pterodactylus.util.database.OrderField
-
Returns the name of the field to sort by.
- getFilter(String) - Method in class net.pterodactylus.util.template.TemplateContext
-
Returns the filter with the given name.
- getFirst() - Method in class net.pterodactylus.util.collection.Triplet
-
Returns the first element.
- getHeaders() - Method in class net.pterodactylus.util.web.Response
-
Returns HTTP headers of the response.
- getHours() - Method in class net.pterodactylus.util.time.Duration
-
Returns the number of hours in the last day of this duration.
- getId() - Method in class net.pterodactylus.util.database.DataObject
-
Returns the ID of the data object.
- getId() - Method in class net.pterodactylus.util.notify.AbstractNotification
-
Returns the unique ID of this notification.
- getId() - Method in interface net.pterodactylus.util.notify.Notification
-
Returns the unique ID of this notification.
- getId() - Method in class net.pterodactylus.util.storage.Allocation
-
The ID of the object.
- getId() - Method in interface net.pterodactylus.util.storage.Storable
-
The ID of the object.
- getIdentityColumn() - Method in interface net.pterodactylus.util.database.DataObjectFactory
-
Returns the name of the column that holds the identity.
- getIndex(TreeNode) - Method in class net.pterodactylus.util.swing.SortableTreeNode
- getIndexOfChild(Node<E>) - Method in interface net.pterodactylus.util.data.Node
-
Returns the index of the given child node.
- getIndexOfChild(E) - Method in interface net.pterodactylus.util.data.Node
-
Returns the index of the child node containing the given element.
- getInitialContext() - Method in class net.pterodactylus.util.template.Template
-
Returns the initial context of this template.
- getInstance() - Static method in class net.pterodactylus.util.template.TemplateContextFactory
-
Returns the static default instance of this template factory.
- getInstance() - Static method in class net.pterodactylus.util.thread.Ticker
-
Returns the global ticker instance.
- getInt(byte[], int) - Static method in class net.pterodactylus.util.storage.Storable.Utils
-
Returns an integer from the byte array.
- getIntegerValue(String) - Method in interface net.pterodactylus.util.config.ExtendedConfigurationBackend
-
Returns the value of the given attribute from the backend.
- getIntValue(String) - Method in class net.pterodactylus.util.config.Configuration
-
Returns the integer value stored at the given attribute.
- getItem() - Method in interface net.pterodactylus.util.cache.CacheItem
-
Returns the wrapped item.
- getItem() - Method in class net.pterodactylus.util.cache.DefaultCacheItem
-
Returns the wrapped item.
- getItemCount() - Method in class net.pterodactylus.util.collection.Pagination
-
Returns the number of items on the current page.
- getItems() - Method in class net.pterodactylus.util.collection.Pagination
-
Returns the items on the current page.
- getKey(String) - Method in class net.pterodactylus.util.i18n.I18n
-
Returns the keycode from the value of the given key.
- getKeyStroke(String) - Method in class net.pterodactylus.util.i18n.I18n
-
Returns a key stroke for use with swing accelerators.
- getLastPage() - Method in class net.pterodactylus.util.collection.Pagination
-
Returns the index of the last page.
- getLastUpdatedTime() - Method in class net.pterodactylus.util.notify.AbstractNotification
-
Returns the time when this notifiation was last updated.
- getLastUpdatedTime() - Method in interface net.pterodactylus.util.notify.Notification
-
Returns the time when this notifiation was last updated.
- getLeft() - Method in class net.pterodactylus.util.collection.Pair
-
Returns the left value.
- getLeftField() - Method in class net.pterodactylus.util.database.Join
-
Returns the field of the previous table to match.
- getLine() - Method in class net.pterodactylus.util.template.AbstractPart
-
Returns the line number of the tag.
- getLine() - Method in exception net.pterodactylus.util.template.TemplateException
-
Returns the line number of the erroneous tag, if any.
- getLines() - Method in class net.pterodactylus.util.telnet.Command.Reply
-
Returns the lines that make up this reply.
- getListeners() - Method in class net.pterodactylus.util.event.AbstractListenerManager
-
Returns a list of all registered listeners.
- getLocale() - Method in class net.pterodactylus.util.i18n.I18n
-
Returns the current locale.
- getLogger(String) - Static method in class net.pterodactylus.util.logging.Logging
-
Returns a named logger from the logger hierarchy.
- getLogger(Class<?>) - Static method in class net.pterodactylus.util.logging.Logging
-
Returns a named logger from the logger hierarchy.
- getLoggerClass(String) - Static method in class net.pterodactylus.util.logging.Logging
-
Returns the class that created the logger with the given name.
- getLoginTimeout() - Method in class net.pterodactylus.util.database.PooledDataSource
-
- getLoginTimeout() - Method in class net.pterodactylus.util.database.URLDataSource
- getLogWriter() - Method in class net.pterodactylus.util.database.PooledDataSource
-
- getLogWriter() - Method in class net.pterodactylus.util.database.URLDataSource
- getLong(byte[], int) - Static method in class net.pterodactylus.util.storage.Storable.Utils
-
Returns a long from the byte array.
- getLongName() - Method in class net.pterodactylus.util.cmdline.Option
-
Returns the long name of the option.
- getLongValue(String) - Method in class net.pterodactylus.util.config.Configuration
-
Returns the long value stored at the given attribute.
- getLongValue(String) - Method in interface net.pterodactylus.util.config.ExtendedConfigurationBackend
-
Returns the value of the given attribute from the backend.
- getMajor() - Method in class net.pterodactylus.util.version.Version
-
Returns the first number of the version.
- getMethod() - Method in class net.pterodactylus.util.web.Request
-
Returns the HTTP method that was used to access the page.
- getMilliseconds() - Method in class net.pterodactylus.util.time.Duration
-
Returns the number of milliseconds in the last second of this duration.
- getMimeType(String) - Static method in class net.pterodactylus.util.io.MimeTypes
-
Returns a default MIME type for the given extension.
- getMimeTypes(String) - Static method in class net.pterodactylus.util.io.MimeTypes
-
Returns a list of MIME types that are registered for the given extension.
- getMinor() - Method in class net.pterodactylus.util.version.Version
-
Returns the second number of the version.
- getMinutes() - Method in class net.pterodactylus.util.time.Duration
-
Returns the number of minutes in the last hour of this duration.
- getMultiple(Query, ObjectCreator<T>) - Method in class net.pterodactylus.util.database.AbstractDatabase
-
- getMultiple(Query, ObjectCreator<T>) - Method in interface net.pterodactylus.util.database.Database
-
Returns multiple query results.
- getName() - Method in class net.pterodactylus.util.database.Field
-
Returns the name of the field.
- getName() - Method in class net.pterodactylus.util.i18n.I18n.Source
-
Returns the name of the application.
- getName() - Method in class net.pterodactylus.util.service.AbstractService
-
Returns the name of this service.
- getName() - Method in interface net.pterodactylus.util.service.Service
-
Returns the name of this service.
- getName() - Method in class net.pterodactylus.util.service.State
-
Returns the name of this state.
- getName() - Method in class net.pterodactylus.util.telnet.AbstractCommand
-
Returns the name of this command.
- getName() - Method in interface net.pterodactylus.util.telnet.Command
-
Returns the name of this command.
- getName() - Method in class net.pterodactylus.util.template.TemplateParser.FilterDefinition
-
Returns the name of the filter.
- getName() - Method in class net.pterodactylus.util.web.Header
-
Returns the name of this header field.
- getName() - Method in class net.pterodactylus.util.xml.SimpleXML
-
Returns the name of this node.
- getNextPage() - Method in class net.pterodactylus.util.collection.Pagination
-
Returns the index of the next page.
- getNode(String) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Returns the child node of this node with the specified name.
- getNode(String[]) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Returns the child node that is specified by the names.
- getNodes() - Method in class net.pterodactylus.util.xml.SimpleXML
-
Returns all child nodes of this node.
- getNodes(String) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Returns all child nodes of this node with the specified name.
- getNotification(String) - Method in class net.pterodactylus.util.notify.NotificationManager
-
Returns the notification with the given ID.
- getNotifications() - Method in class net.pterodactylus.util.notify.NotificationManager
-
Returns all current notifications.
- getNumber() - Method in class net.pterodactylus.util.database.Limit
-
Returns the number of results to retreive.
- getNumber(int) - Method in class net.pterodactylus.util.version.Version
-
Returns the number at the given index.
- getOption(char) - Method in class net.pterodactylus.util.cmdline.CommandLine
-
Returns the option with the given name.
- getOption(String) - Method in class net.pterodactylus.util.cmdline.CommandLine
-
Returns the option with the given name.
- getOrder() - Method in class net.pterodactylus.util.database.OrderField
-
Returns the order of the sort.
- getOrdinal() - Method in class net.pterodactylus.util.service.State
-
Returns the ordinal number of this state.
- getPage() - Method in class net.pterodactylus.util.collection.Pagination
-
Returns the current page, 0-based.
- getPageCount() - Method in class net.pterodactylus.util.collection.Pagination
-
Returns the total number of pages.
- getPageNumber() - Method in class net.pterodactylus.util.collection.Pagination
-
Returns the current page, 1-based.
- getPageSize() - Method in class net.pterodactylus.util.collection.Pagination
-
Returns the number of items per page.
- getParameter() - Method in class net.pterodactylus.util.database.ValueField
-
Returns the value of this field.
- getParameters() - Method in class net.pterodactylus.util.database.AndWhereClause
-
Returns all parameters of this WHERE clause, in the same order as
placeholders are specified.
- getParameters() - Method in class net.pterodactylus.util.database.MatchAllWhereClause
-
Returns all parameters of this WHERE clause, in the same order as
placeholders are specified.
- getParameters() - Method in class net.pterodactylus.util.database.OrWhereClause
-
Returns all parameters of this WHERE clause, in the same order as
placeholders are specified.
- getParameters() - Method in class net.pterodactylus.util.database.ValueFieldWhereClause
-
Returns all parameters of this WHERE clause, in the same order as
placeholders are specified.
- getParameters() - Method in interface net.pterodactylus.util.database.WhereClause
-
Returns all parameters of this WHERE clause, in the same order as
placeholders are specified.
- getParameters() - Method in class net.pterodactylus.util.template.TemplateParser.FilterDefinition
-
Returns the parameters of the filter.
- getParent() - Method in interface net.pterodactylus.util.data.Node
-
Returns the parent node of the node.
- getParent() - Method in class net.pterodactylus.util.swing.SortableTreeNode
- getParentLogger() - Method in class net.pterodactylus.util.database.PooledDataSource
-
- getParentLogger() - Method in class net.pterodactylus.util.database.URLDataSource
-
- getPatch() - Method in class net.pterodactylus.util.version.Version
-
Returns the fourth number of the version.
- getPath() - Method in interface net.pterodactylus.util.web.Page
-
Returns the path of this page.
- getPath() - Method in class net.pterodactylus.util.web.RedirectPage
-
Returns the path of this page.
- getPath() - Method in class net.pterodactylus.util.web.StaticPage
-
Returns the path of this page.
- getPath() - Method in class net.pterodactylus.util.web.TemplatePage
-
Returns the path of this page.
- getPlugin(String) - Method in class net.pterodactylus.util.template.TemplateContext
-
Returns the plugin with the given name.
- getPosition() - Method in class net.pterodactylus.util.storage.Allocation
-
Returns the block position of the data.
- getPreviousPage() - Method in class net.pterodactylus.util.collection.Pagination
-
Returns the index of the previous page.
- getPropertiesPath() - Method in class net.pterodactylus.util.i18n.I18n.Source
-
Returns the path of the properties.
- getProperty(String) - Method in class net.pterodactylus.util.database.DataObject
-
Returns the value of the property with the given name.
- getRelease() - Method in class net.pterodactylus.util.version.Version
-
Returns the third number of the version.
- getRight() - Method in class net.pterodactylus.util.collection.Pair
-
Returns the right value.
- getRightField() - Method in class net.pterodactylus.util.database.Join
-
Returns the field of the joined table to match with.
- getRootNode() - Method in class net.pterodactylus.util.data.Tree
-
Returns the root node of the tree.
- getSaveFields() - Method in class net.pterodactylus.util.database.DataObject
-
Retuns the fields that need to be saved when the object has changed.
- getSecond() - Method in class net.pterodactylus.util.collection.Triplet
-
Returns the second element.
- getSeconds() - Method in class net.pterodactylus.util.time.Duration
-
Returns the number of seconds in the last minute of this duration.
- getSelectedItem() - Method in class net.pterodactylus.util.swing.ComboBoxModelList
- getServiceAttribute(String) - Method in class net.pterodactylus.util.service.AbstractService
-
- getServiceAttribute(String) - Method in interface net.pterodactylus.util.service.Service
-
Returns the value of the service attribute with the given name.
- getSHA1Hasher() - Static method in class net.pterodactylus.util.crypto.MessageDigestHasher
-
Returns a hasher using the SHA-1 algorithm.
- getSHA256Hasher() - Static method in class net.pterodactylus.util.crypto.MessageDigestHasher
-
Returns a hasher using the SHA-256 algorithm.
- getSHA512Hasher() - Static method in class net.pterodactylus.util.crypto.MessageDigestHasher
-
Returns a hasher using the SHA-512 algorithm.
- getShortName() - Method in class net.pterodactylus.util.cmdline.Option
-
Returns the short name of the option.
- getSideComponentCount() - Method in class net.pterodactylus.util.swing.StatusBar
-
Returns the number of side components.
- getSideComponents() - Method in class net.pterodactylus.util.swing.StatusBar
-
Returns all side components in order.
- getSingle(Query, ObjectCreator<T>) - Method in class net.pterodactylus.util.database.AbstractDatabase
-
- getSingle(Query, ObjectCreator<T>) - Method in interface net.pterodactylus.util.database.Database
-
Returns a single object from a database.
- getSize() - Method in class net.pterodactylus.util.storage.Allocation
-
Returns the size of the data.
- getSize() - Method in class net.pterodactylus.util.swing.ListModelList
- getSize() - Method in class net.pterodactylus.util.swing.SortedListModel
- getSource() - Method in class net.pterodactylus.util.event.AbstractListenerManager
-
Returns the source for the events.
- getStart() - Method in class net.pterodactylus.util.database.Limit
-
Returns the index of the first result to retrieve.
- getState() - Method in class net.pterodactylus.util.service.AbstractService
-
Returns the current state of this service.
- getState() - Method in interface net.pterodactylus.util.service.Service
-
Returns the current state of this service.
- getState() - Method in interface net.pterodactylus.util.service.ServiceMBean
-
Returns the state of the service.
- getStateReason() - Method in class net.pterodactylus.util.service.AbstractService
-
Deprecated.
- getStateReason() - Method in interface net.pterodactylus.util.service.Service
-
- getStatus() - Method in class net.pterodactylus.util.telnet.Command.Reply
-
Returns the status of this command.
- getStatusCode() - Method in class net.pterodactylus.util.web.Response
-
Returns the HTTP status code of the response.
- getStatusText() - Method in class net.pterodactylus.util.web.Response
-
Returns the HTTP status text.
- getStringValue(String) - Method in class net.pterodactylus.util.config.Configuration
-
Returns the string value stored at the given attribute.
- getTable() - Method in interface net.pterodactylus.util.database.DataObjectFactory
-
Returns the table the data object is stored in.
- getTable() - Method in class net.pterodactylus.util.database.Join
-
Returns the table to join with.
- getTarget() - Method in exception net.pterodactylus.util.web.RedirectException
-
Returns the target to redirect to.
- getTemplate() - Method in class net.pterodactylus.util.notify.TemplateNotification
-
Expose the used template to subclasses.
- getTemplate(TemplateContext, String) - Method in class net.pterodactylus.util.template.ChainingTemplateProvider
-
Retrieves the template with the given name.
- getTemplate(TemplateContext, String) - Method in class net.pterodactylus.util.template.ClassPathTemplateProvider
-
Retrieves the template with the given name.
- getTemplate(String) - Method in class net.pterodactylus.util.template.DefaultTheme
-
Returns the template with the given name.
- getTemplate(TemplateContext, String) - Method in class net.pterodactylus.util.template.FilesystemTemplateProvider
-
Retrieves the template with the given name.
- getTemplate(String) - Method in class net.pterodactylus.util.template.TemplateContext
-
Returns the template with the given name.
- getTemplate(TemplateContext, String) - Method in class net.pterodactylus.util.template.TemplateContextProvider
-
Retrieves the template with the given name.
- getTemplate(TemplateContext, String) - Method in interface net.pterodactylus.util.template.TemplateProvider
-
Retrieves the template with the given name.
- getTemplateContext() - Method in class net.pterodactylus.util.notify.TemplateNotification
-
Returns the template that renders this notification.
- getTheme(C) - Method in interface net.pterodactylus.util.template.ThemeSelector
-
Returns a theme for the given context.
- getThird() - Method in class net.pterodactylus.util.collection.Triplet
-
Returns the third element.
- getToolTipText(MouseEvent) - Method in class net.pterodactylus.util.swing.ToolTipList
- getType() - Method in class net.pterodactylus.util.database.Join
-
Returns the join type.
- getUri() - Method in class net.pterodactylus.util.web.Request
-
Returns the URI that was accessed.
- getUserObject() - Method in class net.pterodactylus.util.swing.SortableTreeNode
-
Returns the user-defined object.
- getValidators() - Method in class net.pterodactylus.util.validation.ValidatorContainer
-
Returns the list of validators.
- getValue() - Method in class net.pterodactylus.util.cmdline.Option
-
Returns the value of the option’s parameter.
- getValue() - Method in class net.pterodactylus.util.config.BooleanValue
-
Returns the wrapped value.
- getValue(Boolean) - Method in class net.pterodactylus.util.config.BooleanValue
-
Returns the wrapped value, if possible.
- getValue(String) - Method in class net.pterodactylus.util.config.CachingConfigurationBackend
-
Returns the value of the given attribute from the backend.
- getValue(String) - Method in interface net.pterodactylus.util.config.ConfigurationBackend
-
Returns the value of the given attribute from the backend.
- getValue() - Method in class net.pterodactylus.util.config.DoubleValue
-
Returns the wrapped value.
- getValue(Double) - Method in class net.pterodactylus.util.config.DoubleValue
-
Returns the wrapped value, if possible.
- getValue() - Method in class net.pterodactylus.util.config.IntegerValue
-
Returns the wrapped value.
- getValue(Integer) - Method in class net.pterodactylus.util.config.IntegerValue
-
Returns the wrapped value, if possible.
- getValue() - Method in class net.pterodactylus.util.config.LongValue
-
Returns the wrapped value.
- getValue(Long) - Method in class net.pterodactylus.util.config.LongValue
-
Returns the wrapped value, if possible.
- getValue(String) - Method in class net.pterodactylus.util.config.MapConfigurationBackend
-
Returns the value of the given attribute from the backend.
- getValue() - Method in class net.pterodactylus.util.config.ReadOnlyValue
-
Returns the wrapped value.
- getValue(T) - Method in class net.pterodactylus.util.config.ReadOnlyValue
-
Returns the wrapped value, if possible.
- getValue() - Method in class net.pterodactylus.util.config.StringValue
-
Returns the wrapped value.
- getValue(String) - Method in class net.pterodactylus.util.config.StringValue
-
Returns the wrapped value, if possible.
- getValue() - Method in interface net.pterodactylus.util.config.Value
-
Returns the wrapped value.
- getValue(T) - Method in interface net.pterodactylus.util.config.Value
-
Returns the wrapped value, if possible.
- getValue(String) - Method in class net.pterodactylus.util.config.XMLConfigurationBackend
-
Returns the value of the given attribute from the backend.
- getValue() - Method in class net.pterodactylus.util.xml.SimpleXML
-
Returns the value of this node.
- getValue(String) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Returns the value of the first child node with the specified name.
- getValue(String, String) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Returns the value of the first child node with the specified name, or the
default value if there is no child node with the given name.
- getWeeks() - Method in class net.pterodactylus.util.time.Duration
-
Returns the number of whole weeks in this duration.
- i18n - Variable in class net.pterodactylus.util.i18n.gui.I18nAction
-
The i18n handler.
- I18n - Class in net.pterodactylus.util.i18n
-
Handles internationalization.
- I18n(String, String, Locale) - Constructor for class net.pterodactylus.util.i18n.I18n
-
Creates a new i18n handler.
- I18n(String, String, Locale, ClassLoader, Locale) - Constructor for class net.pterodactylus.util.i18n.I18n
-
Creates a new i18n handler.
- I18n(I18n.Source) - Constructor for class net.pterodactylus.util.i18n.I18n
-
Creates a new i18n handler.
- I18n(I18n.Source, Locale) - Constructor for class net.pterodactylus.util.i18n.I18n
-
Creates a new i18n handler.
- I18n.RemovalReference - Class in net.pterodactylus.util.i18n
-
Identifying container for a removal reference.
- I18n.Source - Class in net.pterodactylus.util.i18n
-
A localization (l10n) source.
- I18nable - Interface in net.pterodactylus.util.i18n
-
Interface for objects that want to be notified when the language is changed.
- I18nAction - Class in net.pterodactylus.util.i18n.gui
-
Helper class that initializes actions with values from
I18n.
- I18nAction(I18n, String) - Constructor for class net.pterodactylus.util.i18n.gui.I18nAction
-
Creates a new action that uses the given name as base name to get values
from
I18n.
- I18nAction(I18n, I18n.RemovalReference, String) - Constructor for class net.pterodactylus.util.i18n.gui.I18nAction
-
Creates a new action that uses the given name as base name to get values
from
I18n.
- I18nAction(I18n, String, Icon) - Constructor for class net.pterodactylus.util.i18n.gui.I18nAction
-
Creates a new action that uses the given name as base name to get values
from
I18n and the given icon.
- I18nAction(I18n, I18n.RemovalReference, String, Icon) - Constructor for class net.pterodactylus.util.i18n.gui.I18nAction
-
Creates a new action that uses the given name as base name to get values
from
I18n and the given icon.
- I18nAction(I18n, String, boolean) - Constructor for class net.pterodactylus.util.i18n.gui.I18nAction
-
Creates a new action that uses the given name as base name to get values
from
I18n.
- I18nAction(I18n, I18n.RemovalReference, String, boolean) - Constructor for class net.pterodactylus.util.i18n.gui.I18nAction
-
Creates a new action that uses the given name as base name to get values
from
I18n.
- I18nAction(I18n, String, boolean, Icon) - Constructor for class net.pterodactylus.util.i18n.gui.I18nAction
-
Creates a new action that uses the given name as base name to get values
from
I18n and the given icon.
- I18nAction(I18n, I18n.RemovalReference, String, boolean, Icon) - Constructor for class net.pterodactylus.util.i18n.gui.I18nAction
-
Creates a new action that uses the given name as base name to get values
from
I18n and the given icon.
- I18nLabel - Class in net.pterodactylus.util.i18n.gui
-
Label that can update itself from
I18n.
- I18nLabel(I18n, String) - Constructor for class net.pterodactylus.util.i18n.gui.I18nLabel
-
Creates a new label with the given I18n basename.
- I18nLabel(I18n, I18n.RemovalReference, String) - Constructor for class net.pterodactylus.util.i18n.gui.I18nLabel
-
Creates a new label with the given I18n basename.
- I18nLabel(I18n, String, Component) - Constructor for class net.pterodactylus.util.i18n.gui.I18nLabel
-
Creates a new label with the given I18n basename that optionally is a
label for the given component.
- I18nLabel(I18n, I18n.RemovalReference, String, Component) - Constructor for class net.pterodactylus.util.i18n.gui.I18nLabel
-
Creates a new label with the given I18n basename that optionally is a
label for the given component.
- I18nLabel(I18n, String, Object...) - Constructor for class net.pterodactylus.util.i18n.gui.I18nLabel
-
Creates a new label with the given I18n basename that optionally is a
label for the given component.
- I18nLabel(I18n, I18n.RemovalReference, String, Object...) - Constructor for class net.pterodactylus.util.i18n.gui.I18nLabel
-
Creates a new label with the given I18n basename that optionally is a
label for the given component.
- I18nLabel(I18n, String, Component, Object...) - Constructor for class net.pterodactylus.util.i18n.gui.I18nLabel
-
Creates a new label with the given I18n basename that optionally is a
label for the given component.
- I18nLabel(I18n, I18n.RemovalReference, String, Component, Object...) - Constructor for class net.pterodactylus.util.i18n.gui.I18nLabel
-
Creates a new label with the given I18n basename that optionally is a
label for the given component.
- I18nMenu - Class in net.pterodactylus.util.i18n.gui
-
Menu that receives its properties from
I18n.
- I18nMenu(I18n, String) - Constructor for class net.pterodactylus.util.i18n.gui.I18nMenu
-
Creates a new menu with the given
I18n basename.
- I18nMenu(I18n, I18n.RemovalReference, String) - Constructor for class net.pterodactylus.util.i18n.gui.I18nMenu
-
Creates a new menu with the given
I18n basename.
- I18nMenuItem - Class in net.pterodactylus.util.i18n.gui
-
- I18nMenuItem(I18n, String) - Constructor for class net.pterodactylus.util.i18n.gui.I18nMenuItem
-
Creates a new i18nable menu item.
- I18nMenuItem(I18n, I18n.RemovalReference, String) - Constructor for class net.pterodactylus.util.i18n.gui.I18nMenuItem
-
Creates a new i18nable menu item.
- I18nMenuItem(I18n, String, Action) - Constructor for class net.pterodactylus.util.i18n.gui.I18nMenuItem
-
Creates a new i18nable menu item that will perform the given action when
selected.
- I18nMenuItem(I18n, I18n.RemovalReference, String, Action) - Constructor for class net.pterodactylus.util.i18n.gui.I18nMenuItem
-
Creates a new i18nable menu item that will perform the given action when
selected.
- I18nMenuItem(I18n, I18nAction) - Constructor for class net.pterodactylus.util.i18n.gui.I18nMenuItem
-
Creates a new i18nable menu item that used the properties of the given
I18nAction.
- I18nMenuItem(I18n, I18n.RemovalReference, I18nAction) - Constructor for class net.pterodactylus.util.i18n.gui.I18nMenuItem
-
Creates a new i18nable menu item that used the properties of the given
I18nAction.
- IconLoader - Class in net.pterodactylus.util.image
-
Loads an
Icon or an
Image from the class path.
- IconLoader() - Constructor for class net.pterodactylus.util.image.IconLoader
-
- IdentityValidator<T> - Class in net.pterodactylus.util.validation
-
Validator implementation that requires an object to be the same
object as another object.
- IdentityValidator(T) - Constructor for class net.pterodactylus.util.validation.IdentityValidator
-
Creates a new identity validator.
- index() - Method in class net.pterodactylus.util.collection.Looper.Looped
-
Returns the index of the wrapped element.
- indexOf(T) - Method in class net.pterodactylus.util.collection.Container
-
Returns the index of the given element in this container.
- indexOf(Object) - Method in class net.pterodactylus.util.swing.ListModelList
- indexOf(Object) - Method in class net.pterodactylus.util.swing.SortedListModel
- init() - Method in class net.pterodactylus.util.service.AbstractService
-
Initializes this services.
- init() - Method in interface net.pterodactylus.util.service.Service
-
Initializes the service.
- insert(Query) - Method in class net.pterodactylus.util.database.AbstractDatabase
-
- insert(Query) - Method in interface net.pterodactylus.util.database.Database
-
Inserts an object into the database and returns the automatically
generated ID, if any.
- insert(MutableTreeNode, int) - Method in class net.pterodactylus.util.swing.SortableTreeNode
- InsertFilter - Class in net.pterodactylus.util.template
-
- InsertFilter() - Constructor for class net.pterodactylus.util.template.InsertFilter
-
- INTEGER_CREATOR - Static variable in interface net.pterodactylus.util.database.ObjectCreator
-
A default integer creator.
- IntegerCreator() - Constructor for class net.pterodactylus.util.database.ObjectCreator.IntegerCreator
-
Creates a new object creator that returns the integer value of the
first column of the result set.
- IntegerCreator(int) - Constructor for class net.pterodactylus.util.database.ObjectCreator.IntegerCreator
-
Creates a new object creator that returns the integer value of the
given column.
- IntegerParameter(Integer) - Constructor for class net.pterodactylus.util.database.Parameter.IntegerParameter
-
Creates a new parameter.
- IntegerRangeValidator - Class in net.pterodactylus.util.validation
-
Validator implementation that validates that an
Integer is
within a given range.
- IntegerRangeValidator(int, int) - Constructor for class net.pterodactylus.util.validation.IntegerRangeValidator
-
Creates a new integer range validator.
- IntegerValue - Class in net.pterodactylus.util.config
-
A wrapper around an integer value.
- IntegerValue(Configuration, String) - Constructor for class net.pterodactylus.util.config.IntegerValue
-
Creates a new integer value that updates its value to the given attribute
from the given configuration.
- INTERNAL_SERVER_ERROR - Static variable in class net.pterodactylus.util.telnet.Command.Reply
-
The “internal server error” status.
- is(String, boolean) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if the given value is true.
- isAll(String, T, T...) - Method in class net.pterodactylus.util.validation.Validation
-
Checks whether the given object matches all of the
expecteds values.
- isDismissable() - Method in class net.pterodactylus.util.notify.AbstractNotification
-
Returns whether this notification may be dismissed by the user.
- isDismissable() - Method in interface net.pterodactylus.util.notify.Notification
-
Returns whether this notification may be dismissed by the user.
- isEither(String, T, T...) - Method in class net.pterodactylus.util.validation.Validation
-
Checks whether the given object matches any of the expecteds values.
- isEmpty() - Method in class net.pterodactylus.util.collection.ArrayMap
- isEmpty() - Method in class net.pterodactylus.util.collection.Container
-
Returns whether this container is empty.
- isEmpty() - Method in class net.pterodactylus.util.collection.IterableWrapper
-
Checks whether the wrapped iterable contains at least one element.
- isEmpty() - Method in class net.pterodactylus.util.collection.TimedMap
- isEmpty() - Method in class net.pterodactylus.util.swing.ListModelList
- isEmpty() - Method in class net.pterodactylus.util.swing.SortedListModel
- isEqual(String, T, T) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if the given value is equal to the expected value.
- isFinished() - Method in class net.pterodactylus.util.thread.StoppableDelay
-
Returns whether the long-running operation has finished.
- isFirst() - Method in class net.pterodactylus.util.collection.Pagination
-
Returns whether the current page is the first page
- isGreater(String, long, long) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if value is greater than lowerBound.
- isGreater(String, double, double) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if value is greater than lowerBound.
- isGreaterOrEqual(String, long, long) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if value is greater than lowerBound.
- isGreaterOrEqual(String, double, double) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if value is greater than lowerBound.
- isInstanceOf(String, Object, Class<?>) - Method in class net.pterodactylus.util.validation.Validation
-
Checks whether the given object is assignable to an object of the given
class.
- isLast() - Method in class net.pterodactylus.util.collection.Pagination
-
Returns whether the current page is the last page.
- isLeaf() - Method in class net.pterodactylus.util.swing.SortableTreeNode
- isLess(String, long, long) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if value is less than upperBound.
- isLess(String, double, double) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if value is less than upperBound.
- isLessOrEqual(String, long, long) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if value is less than upperBound.
- isLessOrEqual(String, double, double) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if value is less than upperBound.
- isNecessary() - Method in class net.pterodactylus.util.collection.Pagination
-
Returns whether pagination is actually necessary, i.e. if the number of
pages is greater than 1.
- isNegative(String, long) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if the given value is less than 0.
- isNegative(String, double) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if the given value is less than 0.
- isNot(String, boolean) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if the given value is false.
- isNotEqual(String, T, T) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if the given value is not equal to the expected value.
- isNotNull(String, T) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if the given object is not null.
- isNull(String, T) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if the given object is null.
- isPositive(String, long) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if the given value is greater to or equal to 0.
- isPositive(String, double) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if the given value is greater to or equal to 0.
- isPrefixPage() - Method in interface net.pterodactylus.util.web.Page
-
Returns whether this page handles all paths beginning with
Page.getPath() or whether this page only handles a single path.
- isPrefixPage() - Method in class net.pterodactylus.util.web.RedirectPage
-
Returns whether this page handles all paths beginning with
Page.getPath() or whether this page only handles a single path.
- isPrefixPage() - Method in class net.pterodactylus.util.web.StaticPage
-
Returns whether this page handles all paths beginning with
Page.getPath() or whether this page only handles a single path.
- isPrefixPage() - Method in class net.pterodactylus.util.web.TemplatePage
-
Returns whether this page handles all paths beginning with
Page.getPath() or whether this page only handles a single path.
- isPresent() - Method in class net.pterodactylus.util.cmdline.Option
-
Returns whether this option was present in the command line.
- isRetrieved() - Method in class net.pterodactylus.util.collection.Once
-
Returns whether the wrapped object has already been retrieved.
- isSame(String, T, T) - Method in class net.pterodactylus.util.validation.Validation
-
Checks if the given value is the same as the expected value.
- isSet() - Method in class net.pterodactylus.util.thread.ObjectWrapper
-
Returns whether the value has been set.
- isWrapperFor(Class<?>) - Method in class net.pterodactylus.util.database.PooledDataSource
-
- isWrapperFor(Class<?>) - Method in class net.pterodactylus.util.database.URLDataSource
- ItemCache<T> - Interface in net.pterodactylus.util.cache
-
Cache for a single item.
- ItemValueRetriever<T> - Interface in net.pterodactylus.util.cache
-
An
ItemValueRetriever is used by
AbstractItemCache to
retrieve values that are then cached.
- Iterables - Class in net.pterodactylus.util.collection
-
Helper methods to turn arbitary collections of elements into
Iterables.
- Iterables() - Constructor for class net.pterodactylus.util.collection.Iterables
-
- IterableWrapper<T> - Class in net.pterodactylus.util.collection
-
- IterableWrapper(Iterable<T>) - Constructor for class net.pterodactylus.util.collection.IterableWrapper
-
Creates a new iterable wrapper.
- iterator() - Method in class net.pterodactylus.util.collection.Container
- iterator() - Method in class net.pterodactylus.util.collection.filter.FilteredIterable
- iterator() - Method in class net.pterodactylus.util.collection.IterableWrapper
- iterator() - Method in class net.pterodactylus.util.collection.Looper
- iterator() - Method in class net.pterodactylus.util.collection.mapper.MappedIterable
- iterator() - Method in class net.pterodactylus.util.collection.Pagination
- iterator() - Method in class net.pterodactylus.util.collection.processor.ProcessedIterable
- iterator() - Method in interface net.pterodactylus.util.data.Node
- iterator() - Method in class net.pterodactylus.util.swing.ListModelList
- iterator() - Method in class net.pterodactylus.util.swing.SortedListModel
- iterator() - Method in class net.pterodactylus.util.web.Header
- Iterators - Class in net.pterodactylus.util.collection
-
Helper methods to turn arbitary collections of elements into
Iterators.
- Iterators() - Constructor for class net.pterodactylus.util.collection.Iterators
-
- IteratorWrapper<T> - Class in net.pterodactylus.util.collection
-
Wrapper around an
Iterator that allows easy filtering and mapping of
the returned elements.
- IteratorWrapper(Iterator<T>) - Constructor for class net.pterodactylus.util.collection.IteratorWrapper
-
Creates a new wrapper around the given iterator.
- Range - Class in net.pterodactylus.util.collection
-
Helper methods to create
Iterables to use with the enhanced for loop.
- Range() - Constructor for class net.pterodactylus.util.collection.Range
-
- read(Reader) - Static method in class net.pterodactylus.util.collection.MapWriter
-
Reads a map from the given reader.
- read() - Method in class net.pterodactylus.util.io.BitShiftedInputStream
-
Reads a value from the underlying input stream.
- read(int) - Method in class net.pterodactylus.util.io.BitShiftedInputStream
-
Reads a value with the given number of bits from the underlying input
stream.
- read() - Method in class net.pterodactylus.util.io.LimitedInputStream
-
- read(byte[], int, int) - Method in class net.pterodactylus.util.io.LimitedInputStream
-
- read(InputStream) - Static method in class net.pterodactylus.util.io.StreamReader
-
Reads a single byte from the given input stream.
- readFully(InputStream, byte[]) - Static method in class net.pterodactylus.util.io.StreamReader
-
Fills the given buffer completely from the given input stream.
- readFully(InputStream, byte[], int, int) - Static method in class net.pterodactylus.util.io.StreamReader
-
Fills the given part of the buffer from the given input stream.
- ReadOnlyValue<T> - Class in net.pterodactylus.util.config
-
Implementation of a read-only value that never changes.
- ReadOnlyValue(T) - Constructor for class net.pterodactylus.util.config.ReadOnlyValue
-
Creates a new read-only value.
- RedirectException - Exception in net.pterodactylus.util.web
-
- RedirectException(String) - Constructor for exception net.pterodactylus.util.web.RedirectException
-
Creates a new redirect exception.
- RedirectPage<REQ extends Request> - Class in net.pterodactylus.util.web
-
Page implementation that redirects the user to another URL.
- RedirectPage(String, String) - Constructor for class net.pterodactylus.util.web.RedirectPage
-
Creates a new redirect page.
- RedirectResponse - Class in net.pterodactylus.util.web
-
Response implementation that performs an HTTP redirect.
- RedirectResponse(String) - Constructor for class net.pterodactylus.util.web.RedirectResponse
-
Creates a new redirect response to the new location.
- RedirectResponse(String, boolean) - Constructor for class net.pterodactylus.util.web.RedirectResponse
-
Creates a new redirect response to the new location.
- ReflectionAccessor - Class in net.pterodactylus.util.template
-
Accessor implementation that checks the object for a method that
looks like a getter for the requested member name.
- ReflectionAccessor() - Constructor for class net.pterodactylus.util.template.ReflectionAccessor
-
- registerEvent(long, Runnable) - Method in class net.pterodactylus.util.thread.Ticker
-
- registerEvent(long, Runnable, String) - Method in class net.pterodactylus.util.thread.Ticker
-
Registers a named thread that is executed at the specified time.
- RegularExpressionNumberFormat - Class in net.pterodactylus.util.text
-
Number formatter that uses regular expressions to determine what text to show
for a given number.
- RegularExpressionNumberFormat(String) - Constructor for class net.pterodactylus.util.text.RegularExpressionNumberFormat
-
Creates a new regular expression number format.
- RegularExpressionNumberFormat(String, char, char) - Constructor for class net.pterodactylus.util.text.RegularExpressionNumberFormat
-
Creates a new regular expression number format.
- RemovalReference() - Constructor for class net.pterodactylus.util.i18n.I18n.RemovalReference
-
- remove(K) - Method in interface net.pterodactylus.util.cache.Cache
-
Removes the cached value for the given key.
- remove() - Method in interface net.pterodactylus.util.cache.CacheItem
-
Notifies the item that it is removed from the cache and can free any
resources it uses.
- remove() - Method in class net.pterodactylus.util.cache.DefaultCacheItem
-
Notifies the item that it is removed from the cache and can free any
resources it uses.
- remove(K) - Method in class net.pterodactylus.util.cache.MemoryCache
-
Removes the cached value for the given key.
- remove(Object) - Method in class net.pterodactylus.util.collection.ArrayMap
- remove(T) - Method in class net.pterodactylus.util.collection.Container
-
Returns a container that contains the elements of this container with the
exception of the first occurence of the given element which is removed.
- remove(int) - Method in class net.pterodactylus.util.collection.Container
-
Returns a container that contains the elements of this container with the
exception of the element at the given index which is removed.
- remove() - Method in class net.pterodactylus.util.collection.filter.FilteredIterator
- remove() - Method in class net.pterodactylus.util.collection.IteratorWrapper
- remove() - Method in class net.pterodactylus.util.collection.Looper.LooperIterator
- remove() - Method in class net.pterodactylus.util.collection.mapper.MappedIterator
- remove() - Method in class net.pterodactylus.util.collection.ObjectIterator
- remove() - Method in class net.pterodactylus.util.collection.processor.ProcessedIterator
- remove(Object) - Method in class net.pterodactylus.util.collection.TimedMap
- remove(T) - Method in class net.pterodactylus.util.storage.Storage
-
Removes a storable.
- remove(long) - Method in class net.pterodactylus.util.storage.Storage
-
Removes the storable with the given ID.
- remove(Object) - Method in class net.pterodactylus.util.swing.ListModelList
- remove(int) - Method in class net.pterodactylus.util.swing.ListModelList
- remove(int) - Method in class net.pterodactylus.util.swing.SortableTreeNode
- remove(MutableTreeNode) - Method in class net.pterodactylus.util.swing.SortableTreeNode
- remove(int) - Method in class net.pterodactylus.util.swing.SortedListModel
- remove(Object) - Method in class net.pterodactylus.util.swing.SortedListModel
- remove(SimpleXML) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Removes the specified child from this node.
- remove(String) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Removes the child with the specified name from this node.
- removeAll(Collection<?>) - Method in class net.pterodactylus.util.swing.ListModelList
- removeAll() - Method in class net.pterodactylus.util.swing.SortableTreeNode
-
Removes all children of this node.
- removeAll(Collection<?>) - Method in class net.pterodactylus.util.swing.SortedListModel
- removeAll() - Method in class net.pterodactylus.util.xml.SimpleXML
-
Removes all children from this node.
- removeAllChildren() - Method in interface net.pterodactylus.util.data.Node
-
Removes all children from this node.
- removeAttribute(String) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Removes the attribute with the given name, returning its previous value.
- removeChild(Node<E>) - Method in interface net.pterodactylus.util.data.Node
-
Remove the given child node from this node.
- removeChild(E) - Method in interface net.pterodactylus.util.data.Node
-
Removes the child node that contains the given element.
- removeChild(int) - Method in interface net.pterodactylus.util.data.Node
-
Removes the child at the given index.
- RemoveFilter - Class in net.pterodactylus.util.template
-
- RemoveFilter() - Constructor for class net.pterodactylus.util.template.RemoveFilter
-
- removeFromParent() - Method in class net.pterodactylus.util.swing.SortableTreeNode
- removeI18nable(I18nable) - Method in class net.pterodactylus.util.i18n.I18n
-
Removes an i18n listener.
- removeI18nables(I18n.RemovalReference) - Method in class net.pterodactylus.util.i18n.I18n
-
- removeListDataListener(ListDataListener) - Method in class net.pterodactylus.util.swing.ListModelList
- removeListener(L) - Method in class net.pterodactylus.util.event.AbstractListenerManager
-
Removes the given listener from the list of registered listeners.
- removeLoggingListener(LoggingListener) - Static method in class net.pterodactylus.util.logging.Logging
-
Removes a listener from the log handler.
- removeNotification(Notification) - Method in class net.pterodactylus.util.notify.NotificationManager
-
Removes the given notification.
- removeNotificationListener(NotificationListener) - Method in class net.pterodactylus.util.notify.AbstractNotification
-
Removes the given notification listener.
- removeNotificationListener(NotificationListener) - Method in interface net.pterodactylus.util.notify.Notification
-
Removes the given notification listener.
- removePropertyChangeListener(PropertyChangeListener) - Method in class net.pterodactylus.util.beans.AbstractBean
-
Removes a property change listener.
- removeServiceListener(ServiceListener) - Method in class net.pterodactylus.util.service.AbstractService
-
Removes the given service listeners from the list of service listeners.
- removeServiceListener(ServiceListener) - Method in interface net.pterodactylus.util.service.Service
-
Removes the given service listeners from the list of service listeners.
- removeSideComponent(int) - Method in class net.pterodactylus.util.swing.StatusBar
-
Removes the side component with the given index.
- removeSideComponent(Component) - Method in class net.pterodactylus.util.swing.StatusBar
-
Removes the given side component.
- removeSource(I18n.Source) - Method in class net.pterodactylus.util.i18n.I18n
-
Removes an additional l10n source.
- removeWhitespace(String) - Method in class net.pterodactylus.util.template.BasicWhitespaceRemover
-
Removes whitespace from the given source string.
- removeWhitespace(String) - Method in class net.pterodactylus.util.template.WhitespaceRemover.NoWhitespaceRemover
-
Removes whitespace from the given source string.
- removeWhitespace(String) - Method in interface net.pterodactylus.util.template.WhitespaceRemover
-
Removes whitespace from the given source string.
- render(Writer) - Method in class net.pterodactylus.util.database.AndWhereClause
-
Writes this WHERE clause to the given writer.
- render(Writer) - Method in class net.pterodactylus.util.database.MatchAllWhereClause
-
Writes this WHERE clause to the given writer.
- render(Writer) - Method in class net.pterodactylus.util.database.OrWhereClause
-
Writes this WHERE clause to the given writer.
- render(Writer) - Method in class net.pterodactylus.util.database.Query
-
Renders this query to the given writer.
- render(Writer) - Method in class net.pterodactylus.util.database.ValueFieldWhereClause
-
Writes this WHERE clause to the given writer.
- render(Writer) - Method in interface net.pterodactylus.util.database.WhereClause
-
Writes this WHERE clause to the given writer.
- render(Writer) - Method in interface net.pterodactylus.util.io.Renderable
-
Renders this object to the given writer.
- render(Writer) - Method in interface net.pterodactylus.util.notify.Notification
-
Renders this notification to the given writer.
- render(Writer) - Method in class net.pterodactylus.util.notify.TemplateNotification
-
Renders this notification to the given writer.
- render(TemplateContext, Writer) - Method in class net.pterodactylus.util.notify.TemplateNotification
-
Renders this part.
- render(String, TemplateContext, Writer) - Method in class net.pterodactylus.util.template.DefaultTheme
-
Renders the template with the given name using the the given template
context to the given writer.
- render(TemplateContext, Writer) - Method in interface net.pterodactylus.util.template.Part
-
Renders this part.
- render(TemplateContext, Writer) - Method in class net.pterodactylus.util.template.TemplatePart
-
Renders this part.
- render(String, TemplateContext, Writer) - Method in interface net.pterodactylus.util.template.Theme
-
Renders the template with the given name using the the given template
context to the given writer.
- Renderable - Interface in net.pterodactylus.util.io
-
Interface for objects that can render themselves to a
Writer.
- reopen() - Method in class net.pterodactylus.util.io.TemporaryInputStream
-
Creates a new input stream from the temporary file that is backing this
input stream.
- repackCentered(Window) - Static method in class net.pterodactylus.util.swing.SwingUtils
-
Packs the given window and positions it so that its
center stays the same.
- replace(String, String) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Replace the child node with the specified name by a new node with the
specified content.
- replace(SimpleXML) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Replaces the child node that has the same name as the given node by the
given node.
- ReplaceFilter - Class in net.pterodactylus.util.template
-
Filter implementation that replaces parts of a value.
- ReplaceFilter() - Constructor for class net.pterodactylus.util.template.ReplaceFilter
-
- Reply(int) - Constructor for class net.pterodactylus.util.telnet.Command.Reply
-
Creates a new reply with the given status.
- Reply(int, String) - Constructor for class net.pterodactylus.util.telnet.Command.Reply
-
Creates a new reply with the given status and line.
- Reply(int, String...) - Constructor for class net.pterodactylus.util.telnet.Command.Reply
-
Creates a new reply with the given status and lines.
- Reply(int, List<String>) - Constructor for class net.pterodactylus.util.telnet.Command.Reply
-
Creates a new reply with the given status and lines.
- Request - Class in net.pterodactylus.util.web
-
Container for request data.
- Request(URI, Method) - Constructor for class net.pterodactylus.util.web.Request
-
Creates a new request that holds the given data.
- reset() - Method in class net.pterodactylus.util.collection.Once
-
Resets whether the wrapped object was retrieved by a call to
Once.get().
- reset() - Method in class net.pterodactylus.util.io.LimitedInputStream
-
- Response - Class in net.pterodactylus.util.web
-
Container for the HTTP response of a
Page.
- Response(OutputStream) - Constructor for class net.pterodactylus.util.web.Response
-
Creates a new response.
- restore(byte[]) - Method in class net.pterodactylus.util.storage.Allocation.AllocationFactory
-
Creates an object from the given byte array.
- restore(byte[]) - Method in interface net.pterodactylus.util.storage.Factory
-
Creates an object from the given byte array.
- ResultProcessor - Interface in net.pterodactylus.util.database
-
A result processor is similar to an
ObjectCreator but it does not
return created objects but processes results in an arbitrary way.
- retainAll(Collection<?>) - Method in class net.pterodactylus.util.swing.ListModelList
- retainAll(Collection<?>) - Method in class net.pterodactylus.util.swing.SortedListModel
- retrieve() - Method in interface net.pterodactylus.util.cache.ItemValueRetriever
-
Retrieves the item to cache.
- retrieve(K) - Method in interface net.pterodactylus.util.cache.ValueRetriever
-
Retrieves the value for the given key.
- retrieveValue(K) - Method in class net.pterodactylus.util.cache.AbstractCache
-
Retrieves a value from the value retriever.
- retrieveValue() - Method in class net.pterodactylus.util.cache.AbstractItemCache
-
Retrieves the value of the item to cache.
- returnConnection(Connection) - Method in class net.pterodactylus.util.database.AbstractDatabase
-
Returns the connection after it has been used.
- reverse() - Method in class net.pterodactylus.util.collection.Container
-
Returns a container with the elements of this container in reverse order.
- ReverseComparator<T> - Class in net.pterodactylus.util.collection
-
- ReverseComparator(Comparator<T>) - Constructor for class net.pterodactylus.util.collection.ReverseComparator
-
Creates a new comparator that reverse the given comparator.
- reverseFilter(Filter<E>) - Static method in class net.pterodactylus.util.collection.filter.Filters
-
Returns a filter that reverses the given filter.
- right - Variable in class net.pterodactylus.util.collection.Pair
-
The right value.
- rotateLeft(int, int) - Static method in class net.pterodactylus.util.number.Bits
-
Rotates the bits in the given value to the left.
- rotateLeft(long, int) - Static method in class net.pterodactylus.util.number.Bits
-
Rotates the bits in the given value to the left.
- rotateRight(int, int) - Static method in class net.pterodactylus.util.number.Bits
-
Rotates the bits in the given value to the right.
- rotateRight(long, int) - Static method in class net.pterodactylus.util.number.Bits
-
Rotates the bits in the given value to the right.
- round(double, double) - Static method in class net.pterodactylus.util.number.Digits
-
Rounds the given number to the nearest multiple of unit.
- run() - Method in class net.pterodactylus.util.service.AbstractService
-
- run() - Method in class net.pterodactylus.util.thread.DumpingThread
-
Executes the runnable in a try-catch block and dumps the thrown exception
to the
DumpingThread.logger.
- run() - Method in class net.pterodactylus.util.thread.StoppableDelay
- run() - Method in class net.pterodactylus.util.thread.Ticker
-
Main ticker thread.
- safeParseInteger(Object) - Static method in class net.pterodactylus.util.number.Numbers
-
- safeParseInteger(Object, Integer) - Static method in class net.pterodactylus.util.number.Numbers
-
- safeParseLong(Object) - Static method in class net.pterodactylus.util.number.Numbers
-
- safeParseLong(Object, Long) - Static method in class net.pterodactylus.util.number.Numbers
-
- save() - Method in class net.pterodactylus.util.config.CachingConfigurationBackend
-
Saves the configuration.
- save() - Method in class net.pterodactylus.util.config.Configuration
-
Saves the configuration.
- save() - Method in interface net.pterodactylus.util.config.ConfigurationBackend
-
Saves the configuration.
- save() - Method in class net.pterodactylus.util.config.MapConfigurationBackend
-
Saves the configuration.
- save() - Method in class net.pterodactylus.util.config.XMLConfigurationBackend
-
Saves the configuration.
- save(Database) - Method in class net.pterodactylus.util.database.DataObject
-
Saves this data object to the database if it is dirty.
- save(Database, boolean) - Method in class net.pterodactylus.util.database.DataObject
-
Saves this data object to the database if it is dirty, or if the
force parameter is true.
- saveValues() - Method in class net.pterodactylus.util.config.MapConfigurationBackend
-
Saves the configuration to the configuration file, if it is not
null.
- Service - Interface in net.pterodactylus.util.service
-
Interface for services.
- serviceDestroy() - Method in class net.pterodactylus.util.service.AbstractService
-
Empty implementation.
- serviceInit() - Method in class net.pterodactylus.util.service.AbstractService
-
Empty initialization.
- ServiceListener - Interface in net.pterodactylus.util.service
-
- ServiceListenerManager - Class in net.pterodactylus.util.service
-
- ServiceListenerManager(Service) - Constructor for class net.pterodactylus.util.service.ServiceListenerManager
-
- ServiceMBean - Interface in net.pterodactylus.util.service
-
MBean interface for all
Service implementations.
- serviceRun() - Method in class net.pterodactylus.util.service.AbstractService
-
Empty implementation.
- serviceRun() - Method in class net.pterodactylus.util.telnet.ControlConnection
-
Empty implementation.
- serviceRun() - Method in class net.pterodactylus.util.telnet.TelnetControl
-
Empty implementation.
- serviceStart() - Method in class net.pterodactylus.util.service.AbstractService
-
Empty implementation.
- serviceStarted(Service) - Method in interface net.pterodactylus.util.service.ServiceListener
-
Notifies listeners that a
Service has been started.
- serviceStateChanged(Service, State, State) - Method in interface net.pterodactylus.util.service.ServiceListener
-
- serviceStop() - Method in class net.pterodactylus.util.service.AbstractService
-
Empty implementation.
- serviceStop() - Method in class net.pterodactylus.util.telnet.ControlConnection
-
Empty implementation.
- serviceStop() - Method in class net.pterodactylus.util.telnet.TelnetControl
-
Empty implementation.
- serviceStopped(Service, Throwable) - Method in interface net.pterodactylus.util.service.ServiceListener
-
Notifies listeners that a
Service has been stopped.
- set(PreparedStatement, int) - Method in class net.pterodactylus.util.database.Parameter.BooleanParameter
-
Sets the value on the prepared statement.
- set(PreparedStatement, int) - Method in class net.pterodactylus.util.database.Parameter.IntegerParameter
-
Sets the value on the prepared statement.
- set(PreparedStatement, int) - Method in class net.pterodactylus.util.database.Parameter.LongParameter
-
Sets the value on the prepared statement.
- set(PreparedStatement, int) - Method in class net.pterodactylus.util.database.Parameter
-
Sets the value on the prepared statement.
- set(PreparedStatement, int) - Method in class net.pterodactylus.util.database.Parameter.StringParameter
-
Sets the value on the prepared statement.
- set(String, Object) - Method in class net.pterodactylus.util.notify.TemplateNotification
-
Sets a template variable.
- set(int, E) - Method in class net.pterodactylus.util.swing.ListModelList
- set(int, T) - Method in class net.pterodactylus.util.swing.SortedListModel
- set(String, Object) - Method in class net.pterodactylus.util.template.TemplateContext
-
Sets the object with the given name to the given value.
- set(String, Object, boolean) - Method in class net.pterodactylus.util.template.TemplateContext
-
Sets the object with the given name to the given value.
- set(T) - Method in class net.pterodactylus.util.thread.ObjectWrapper
-
Sets the wrapped object.
- setAction(String) - Method in class net.pterodactylus.util.service.AbstractService
-
Sets the action of the service.
- setAttribute(String, String) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Sets the value of an attribute.
- setBooleanValue(String, Boolean) - Method in interface net.pterodactylus.util.config.ExtendedConfigurationBackend
-
Sets the value of the given attribute within the backend.
- setBufferSize(int) - Static method in class net.pterodactylus.util.io.StreamCopier
-
Sets the buffer size for following transfers.
- SetBuilder<T> - Class in net.pterodactylus.util.collection
-
Convenience class to help construct
Sets in a single command without
extending an existing
Set class.
- SetBuilder() - Constructor for class net.pterodactylus.util.collection.SetBuilder
-
- SetBuilder(Set<T>) - Constructor for class net.pterodactylus.util.collection.SetBuilder
-
Creates a new set builder that will populate the given set and return it
on
SetBuilder.get().
- setContentType(String) - Method in class net.pterodactylus.util.web.Response
-
Sets the content type of this response.
- setDismissable(boolean) - Method in class net.pterodactylus.util.notify.AbstractNotification
-
Sets whether this notification is dismissable.
- setDoubleValue(String, Double) - Method in interface net.pterodactylus.util.config.ExtendedConfigurationBackend
-
Sets the value of the given attribute within the backend.
- setIntegerValue(String, Integer) - Method in interface net.pterodactylus.util.config.ExtendedConfigurationBackend
-
Sets the value of the given attribute within the backend.
- setLastUpdateTime(long) - Method in class net.pterodactylus.util.notify.AbstractNotification
-
Sets the last updated time.
- setLimit(Limit) - Method in class net.pterodactylus.util.database.Query
-
Sets the limit for this query.
- setListenPort(int) - Method in class net.pterodactylus.util.telnet.TelnetControl
-
Sets the port to listen on.
- setLocale(Locale) - Method in class net.pterodactylus.util.i18n.I18n
-
Sets the current locale.
- setLogger(Logger) - Static method in class net.pterodactylus.util.cache.MemoryCache
-
Sets the logger to use.
- setLoginTimeout(int) - Method in class net.pterodactylus.util.database.PooledDataSource
-
- setLoginTimeout(int) - Method in class net.pterodactylus.util.database.URLDataSource
- setLogThreadStartAndEnd(boolean) - Method in class net.pterodactylus.util.thread.DumpingThread
-
Sets whether the started thread should logs its start and end.
- setLogWriter(PrintWriter) - Method in class net.pterodactylus.util.database.PooledDataSource
-
- setLogWriter(PrintWriter) - Method in class net.pterodactylus.util.database.URLDataSource
- setLongValue(String, Long) - Method in interface net.pterodactylus.util.config.ExtendedConfigurationBackend
-
Sets the value of the given attribute within the backend.
- setPage(int) - Method in class net.pterodactylus.util.collection.Pagination
-
Sets the new page.
- setPageSize(int) - Method in class net.pterodactylus.util.collection.Pagination
-
Sets the page size.
- setParent(MutableTreeNode) - Method in class net.pterodactylus.util.swing.SortableTreeNode
- setProperty(String, Object) - Method in class net.pterodactylus.util.database.DataObject
-
Sets the property with the given name to the given value.
- setRootLevel(Level) - Static method in class net.pterodactylus.util.logging.Logging
-
Sets the log level of the hierarchy’s root logger.
- setSelectedItem(Object) - Method in class net.pterodactylus.util.swing.ComboBoxModelList
- setServiceAttribute(String, Object) - Method in class net.pterodactylus.util.service.AbstractService
-
- setServiceAttribute(String, Object) - Method in interface net.pterodactylus.util.service.Service
-
Sets the service attribute with the given name to the given value.
- setState(State) - Method in class net.pterodactylus.util.service.AbstractService
-
Sets the new state of this service without changing the action.
- setState(State, String) - Method in class net.pterodactylus.util.service.AbstractService
-
Sets the new state of this service.
- setStateReason(String) - Method in class net.pterodactylus.util.service.AbstractService
-
- setStatusCode(int) - Method in class net.pterodactylus.util.web.Response
-
Sets the status code of this response.
- setStatusText(String) - Method in class net.pterodactylus.util.web.Response
-
Sets the text of the HTTP status line.
- setText(String) - Method in class net.pterodactylus.util.swing.StatusBar
-
Sets the text of the label.
- setThreadFactory(ThreadFactory) - Method in class net.pterodactylus.util.service.AbstractService
-
Sets the thread factory that this service uses to spawn new threads.
- setup(String) - Static method in class net.pterodactylus.util.logging.Logging
-
Sets up logging and installs the log handler.
- setupConsoleLogging() - Static method in class net.pterodactylus.util.logging.Logging
-
Initializes console logging.
- setUserObject(Object) - Method in class net.pterodactylus.util.swing.SortableTreeNode
- setValue(Boolean) - Method in class net.pterodactylus.util.config.BooleanValue
-
Sets a new wrapped value.
- setValue(Double) - Method in class net.pterodactylus.util.config.DoubleValue
-
Sets a new wrapped value.
- setValue(Integer) - Method in class net.pterodactylus.util.config.IntegerValue
-
Sets a new wrapped value.
- setValue(Long) - Method in class net.pterodactylus.util.config.LongValue
-
Sets a new wrapped value.
- setValue(T) - Method in class net.pterodactylus.util.config.ReadOnlyValue
-
Sets a new wrapped value.
- setValue(String) - Method in class net.pterodactylus.util.config.StringValue
-
Sets a new wrapped value.
- setValue(T) - Method in interface net.pterodactylus.util.config.Value
-
Sets a new wrapped value.
- setValue(String) - Method in class net.pterodactylus.util.xml.SimpleXML
-
Sets the value of this node.
- shouldStop() - Method in class net.pterodactylus.util.service.AbstractService
-
Returns whether this service should stop.
- shutdown() - Static method in class net.pterodactylus.util.logging.Logging
-
Shuts this logging hierarchy down by removing all
Handlers from
the root logger.
- SI - Class in net.pterodactylus.util.number
-
Formats a decimal number with SI units.
- SI() - Constructor for class net.pterodactylus.util.number.SI
-
- SimpleStringEscaper - Class in net.pterodactylus.util.text
-
A more simple approach to
String escaping, compared to
StringEscaper (which is actually more concerned with parsing words
from a line).
- SimpleStringEscaper() - Constructor for class net.pterodactylus.util.text.SimpleStringEscaper
-
- SimpleXML - Class in net.pterodactylus.util.xml
-
SimpleXML is a helper class to construct XML trees in a fast and simple way.
- SimpleXML() - Constructor for class net.pterodactylus.util.xml.SimpleXML
-
Constructs a new XML node without a name.
- SimpleXML(String) - Constructor for class net.pterodactylus.util.xml.SimpleXML
-
Constructs a new XML node with the specified name.
- SimpleXML(String, String, String) - Constructor for class net.pterodactylus.util.xml.SimpleXML
-
Constructs a new XML node with the specified name and a single attribute.
- SimpleXML(String, String[], String[]) - Constructor for class net.pterodactylus.util.xml.SimpleXML
-
Constructs a new XML node with the specified name and attributes.
- size() - Method in interface net.pterodactylus.util.cache.Cache
-
Returns the number of currently cached values.
- size() - Method in class net.pterodactylus.util.cache.MemoryCache
-
- size() - Method in class net.pterodactylus.util.collection.ArrayMap
- size() - Method in class net.pterodactylus.util.collection.Container
-
Returns the number of elements stored in this container.
- size() - Method in class net.pterodactylus.util.collection.TimedMap
- size() - Method in interface net.pterodactylus.util.data.Node
-
Returns the number of children this node has.
- size() - Method in class net.pterodactylus.util.storage.Storage
-
Returns the number of storables in this storage.
- size() - Method in class net.pterodactylus.util.swing.ListModelList
- size() - Method in class net.pterodactylus.util.swing.SortedListModel
- skip(long) - Method in class net.pterodactylus.util.io.LimitedInputStream
-
- skipBits(int) - Method in class net.pterodactylus.util.io.BitShiftedInputStream
-
Skips the specified number of bits.
- sleep() - Method in class net.pterodactylus.util.service.AbstractService
-
- sleep(long) - Method in class net.pterodactylus.util.service.AbstractService
-
- sort() - Method in class net.pterodactylus.util.collection.Container
-
Returns a container that contains all elements of this container sorted
by their natural order.
- sort(Comparator<? super T>) - Method in class net.pterodactylus.util.collection.Container
-
Returns a container that contains all elements of this container sorted
using the given comparator.
- sort() - Method in class net.pterodactylus.util.collection.ListBuilder
-
Sorts the current list contents.
- sort(Comparator<? super T>) - Method in class net.pterodactylus.util.collection.ListBuilder
-
Sorts the current list contents using the given comparator.
- sort() - Method in class net.pterodactylus.util.swing.SortableTreeNode
-
Sorts the children of this node.
- SortableTreeNode - Class in net.pterodactylus.util.swing
-
- SortableTreeNode(boolean) - Constructor for class net.pterodactylus.util.swing.SortableTreeNode
-
Creates a new sortable tree node.
- SortableTreeNode(Object) - Constructor for class net.pterodactylus.util.swing.SortableTreeNode
-
Creates a new sortable tree node that contains the given user-defined
object.
- SortableTreeNode(Object, boolean) - Constructor for class net.pterodactylus.util.swing.SortableTreeNode
-
Creates a new sortable tree node that contains the given user-defined
object.
- sortChildren() - Method in interface net.pterodactylus.util.data.Node
-
Sorts all children according to their natural order.
- sortChildren(Comparator<Node<E>>) - Method in interface net.pterodactylus.util.data.Node
-
Sorts all children with the given comparator.
- SortedListModel<T extends Comparable<T>> - Class in net.pterodactylus.util.swing
-
- SortedListModel() - Constructor for class net.pterodactylus.util.swing.SortedListModel
-
- Source(String, String, Locale, ClassLoader) - Constructor for class net.pterodactylus.util.i18n.I18n.Source
-
Creates a new l10n source.
- SOURCE_PATH_OPTION - Static variable in class net.pterodactylus.util.template.FilesystemTemplateProvider
-
Name of template context option for the source path.
- start() - Method in class net.pterodactylus.util.service.AbstractService
-
Attempts to start this service.
- start() - Method in interface net.pterodactylus.util.service.Service
-
Starts the service.
- start() - Method in interface net.pterodactylus.util.service.ServiceMBean
-
Starts the service.
- starting - Static variable in class net.pterodactylus.util.service.State
-
Basic State for services that are starting.
- State - Class in net.pterodactylus.util.service
-
- State(State, String) - Constructor for class net.pterodactylus.util.service.State
-
Constructs a new state that is derived from the given basic state and has
the given name.
- StaticPage<REQ extends Request> - Class in net.pterodactylus.util.web
-
Page implementation that delivers static files from the class path.
- StaticPage(String, String, String) - Constructor for class net.pterodactylus.util.web.StaticPage
-
Creates a new CSS page.
- StaticPage(Class<?>, String, String, String) - Constructor for class net.pterodactylus.util.web.StaticPage
-
- StatusBar - Class in net.pterodactylus.util.swing
-
- StatusBar() - Constructor for class net.pterodactylus.util.swing.StatusBar
-
Creates a new status bar.
- stop() - Method in class net.pterodactylus.util.service.AbstractService
-
Stops this service.
- stop() - Method in interface net.pterodactylus.util.service.Service
-
Stops the service.
- stop() - Method in interface net.pterodactylus.util.service.ServiceMBean
-
Stops the service.
- stop() - Method in class net.pterodactylus.util.thread.Ticker
-
Stops the ticker.
- StoppableDelay - Class in net.pterodactylus.util.thread
-
Runs a runnable after a certain time of a potentially longer-running
operation has elapsed, until said operation is finished.
- StoppableDelay(Runnable, Runnable) - Constructor for class net.pterodactylus.util.thread.StoppableDelay
-
Creates a new delay that runs the given runnable after 500 milliseconds.
- StoppableDelay(Runnable, Runnable, long) - Constructor for class net.pterodactylus.util.thread.StoppableDelay
-
Creates a new delay that runs the given runnable after the given number
of milliseconds.
- stopping - Static variable in class net.pterodactylus.util.service.State
-
Basic state for services that are stopping.
- Storable - Interface in net.pterodactylus.util.storage
-
Interface for objects that can write themselves to a byte array.
- Storable.Utils - Class in net.pterodactylus.util.storage
-
Helper methods for populating and parsing byte arrays.
- Storage<T extends Storable> - Class in net.pterodactylus.util.storage
-
- Storage(Factory<T>, File, String) - Constructor for class net.pterodactylus.util.storage.Storage
-
Creates a new storage with a default block size of 512 bytes.
- Storage(int, Factory<T>, File, String) - Constructor for class net.pterodactylus.util.storage.Storage
-
Creates a new storage.
- StorageException - Exception in net.pterodactylus.util.storage
-
Exception that signals in a
Storage.
- StorageException() - Constructor for exception net.pterodactylus.util.storage.StorageException
-
Creates a new storage exception.
- StorageException(String) - Constructor for exception net.pterodactylus.util.storage.StorageException
-
Creates a new storage exception.
- StorageException(Throwable) - Constructor for exception net.pterodactylus.util.storage.StorageException
-
Creates a new storage exception.
- StorageException(String, Throwable) - Constructor for exception net.pterodactylus.util.storage.StorageException
-
Creates a new storage exception.
- StoreFilter - Class in net.pterodactylus.util.template
-
- StoreFilter() - Constructor for class net.pterodactylus.util.template.StoreFilter
-
- StreamCopier - Class in net.pterodactylus.util.io
-
- StreamCopier() - Constructor for class net.pterodactylus.util.io.StreamCopier
-
- StreamCopier.ProgressListener - Interface in net.pterodactylus.util.io
-
- StreamReader - Class in net.pterodactylus.util.io
-
Helper methods that read certain numbers of bytes from an
InputStream
and throw an
EOFException if the input stream is depleted before the
requested number of bytes is read.
- StreamReader() - Constructor for class net.pterodactylus.util.io.StreamReader
-
- STRING_CREATOR - Static variable in interface net.pterodactylus.util.database.ObjectCreator
-
A default string creator.
- StringCreator() - Constructor for class net.pterodactylus.util.database.ObjectCreator.StringCreator
-
Creates a new object creator that returns the value of the result
set’s first column as a
String.
- StringCreator(int) - Constructor for class net.pterodactylus.util.database.ObjectCreator.StringCreator
-
Creates a new object creator that returns the value of the result
set’s given column as a
String.
- StringCreator(String) - Constructor for class net.pterodactylus.util.database.ObjectCreator.StringCreator
-
Creates a new object creator that returns the value of the column
with the given name as a
String.
- StringEscaper - Class in net.pterodactylus.util.text
-
Contains different methods to escape strings, e.g. for storage in a
text-based medium like databases or an XML file.
- StringEscaper() - Constructor for class net.pterodactylus.util.text.StringEscaper
-
- StringParameter(String) - Constructor for class net.pterodactylus.util.database.Parameter.StringParameter
-
Creates a new parameter.
- StringValue - Class in net.pterodactylus.util.config
-
A wrapper around a string value.
- StringValue(Configuration, String) - Constructor for class net.pterodactylus.util.config.StringValue
-
Creates a new string value that updates its value to the given attribute
from the given configuration.
- SubClassValidator - Class in net.pterodactylus.util.validation
-
Validator implementation that validates that an object‘s
class is
assignable from a given class, i.e. that its class is the given class or a
subclass of it.
- SubClassValidator(Class<?>) - Constructor for class net.pterodactylus.util.validation.SubClassValidator
-
Creates a new subclass validator.
- subList(int, int) - Method in class net.pterodactylus.util.swing.ListModelList
- subList(int, int) - Method in class net.pterodactylus.util.swing.SortedListModel
- SwingUtils - Class in net.pterodactylus.util.swing
-
Collection of Swing-related helper methods.
- SwingUtils() - Constructor for class net.pterodactylus.util.swing.SwingUtils
-
- syncObject - Variable in class net.pterodactylus.util.service.AbstractService
-
Object used for synchronization.
- TeeOutputStream - Class in net.pterodactylus.util.io
-
OutputStream that sends all data it receives to multiple other output
streams.
- TeeOutputStream(OutputStream...) - Constructor for class net.pterodactylus.util.io.TeeOutputStream
-
Creates a new tee output stream that sends all to all given output
streams.
- TelnetControl - Class in net.pterodactylus.util.telnet
-
TODO
- TelnetControl() - Constructor for class net.pterodactylus.util.telnet.TelnetControl
-
Creates a new telnet control.
- Template - Class in net.pterodactylus.util.template
-
Simple container that holds an initial
TemplateContext that can be
used to store filters, accessors, plugins, providers, and template
objects that are used for all render passes of this template.
- Template() - Constructor for class net.pterodactylus.util.template.Template
-
Creates a new template.
- TEMPLATE_CONTEXT_PROVIDER - Static variable in interface net.pterodactylus.util.template.TemplateProvider
-
- TemplateContext - Class in net.pterodactylus.util.template
-
A template context bundles together all providers of information that are
necessary to render a template.
- TemplateContext() - Constructor for class net.pterodactylus.util.template.TemplateContext
-
Creates a new template context.
- TemplateContext(TemplateContext) - Constructor for class net.pterodactylus.util.template.TemplateContext
-
Creates a new template context with the given parent context.
- TemplateContext(TemplateContext, boolean) - Constructor for class net.pterodactylus.util.template.TemplateContext
-
Creates a new template context with the given parent context.
- TemplateContextFactory - Class in net.pterodactylus.util.template
-
- TemplateContextFactory() - Constructor for class net.pterodactylus.util.template.TemplateContextFactory
-
- TemplateContextProvider - Class in net.pterodactylus.util.template
-
- TemplateContextProvider() - Constructor for class net.pterodactylus.util.template.TemplateContextProvider
-
- TemplateException - Exception in net.pterodactylus.util.template
-
Exception that is thrown when a
Template can not be rendered because
its input can not be parsed correctly, or when its template variables can not
be parsed or evaluated.
- TemplateException() - Constructor for exception net.pterodactylus.util.template.TemplateException
-
Creates a new template exception.
- TemplateException(int, int) - Constructor for exception net.pterodactylus.util.template.TemplateException
-
Creates a new template exception.
- TemplateException(String) - Constructor for exception net.pterodactylus.util.template.TemplateException
-
Creates a new template exception.
- TemplateException(int, int, String) - Constructor for exception net.pterodactylus.util.template.TemplateException
-
Creates a new template exception.
- TemplateException(Throwable) - Constructor for exception net.pterodactylus.util.template.TemplateException
-
Creates a new template exception.
- TemplateException(int, int, Throwable) - Constructor for exception net.pterodactylus.util.template.TemplateException
-
Creates a new template exception.
- TemplateException(String, Throwable) - Constructor for exception net.pterodactylus.util.template.TemplateException
-
Creates a new template exception.
- TemplateException(int, int, String, Throwable) - Constructor for exception net.pterodactylus.util.template.TemplateException
-
Creates a new template exception.
- TemplateNotification - Class in net.pterodactylus.util.notify
-
- TemplateNotification(Template) - Constructor for class net.pterodactylus.util.notify.TemplateNotification
-
Creates a new notification.
- TemplateNotification(String, Template) - Constructor for class net.pterodactylus.util.notify.TemplateNotification
-
Creates a new notification.
- TemplateNotification(String, long, long, boolean, Template) - Constructor for class net.pterodactylus.util.notify.TemplateNotification
-
Creates a new notification.
- TemplatePage<REQ extends Request> - Class in net.pterodactylus.util.web
-
A template page is a single page that is created from a
Template but
does not necessarily return HTML.
- TemplatePage(String, String, TemplateContextFactory, Template) - Constructor for class net.pterodactylus.util.web.TemplatePage
-
Creates a new template page.
- TemplateParser - Class in net.pterodactylus.util.template
-
- TemplateParser() - Constructor for class net.pterodactylus.util.template.TemplateParser
-
- TemplateParser.FilterDefinition - Class in net.pterodactylus.util.template
-
Wrapper for the name of a
Filter and its parameters.
- TemplateParser.Filters - Class in net.pterodactylus.util.template
-
- TemplatePart - Class in net.pterodactylus.util.template
-
- TemplatePart(int, int, String, Map<String, String>) - Constructor for class net.pterodactylus.util.template.TemplatePart
-
Creates a new template part.
- TemplateProvider - Interface in net.pterodactylus.util.template
-
A provider is used to load templates that are included in other templates
when rendering a template.
- TemporaryInputStream - Class in net.pterodactylus.util.io
-
An input stream implementation that copies a given input stream to a
temporary file and delivers the content of the temporary file at a later
time.
- TemporaryInputStream(InputStream) - Constructor for class net.pterodactylus.util.io.TemporaryInputStream
-
Creates a new temporary input stream.
- TextException - Exception in net.pterodactylus.util.text
-
Exception that signals an error when processing texts.
- TextException() - Constructor for exception net.pterodactylus.util.text.TextException
-
Creates a new text exception.
- TextException(String) - Constructor for exception net.pterodactylus.util.text.TextException
-
Creates a new text exception with the given message.
- TextException(Throwable) - Constructor for exception net.pterodactylus.util.text.TextException
-
Creates a new text exception with the given cause.
- TextException(String, Throwable) - Constructor for exception net.pterodactylus.util.text.TextException
-
Creates a new text exception with the given message and cause.
- Theme - Interface in net.pterodactylus.util.template
-
A theme bundles an arbitrary amount of
Templates together and can
perform additional processing around it.
- ThemeSelector<C extends ThemeSelectorContext> - Interface in net.pterodactylus.util.template
-
Selects themes based on a context.
- ThemeSelectorContext - Class in net.pterodactylus.util.template
-
- ThemeSelectorContext() - Constructor for class net.pterodactylus.util.template.ThemeSelectorContext
-
- Ticker - Class in net.pterodactylus.util.thread
-
Executes threads at specified times in the future.
- Ticker() - Constructor for class net.pterodactylus.util.thread.Ticker
-
Creates a new ticker with a default thread factory (which uses
DumpingThreads).
- Ticker(ThreadFactory) - Constructor for class net.pterodactylus.util.thread.Ticker
-
Creates a new ticker that uses the given thread factory to create new
threads.
- TimedMap<K,V> - Class in net.pterodactylus.util.collection
-
Map implementation that forgets its entries after a specified time.
- TimedMap() - Constructor for class net.pterodactylus.util.collection.TimedMap
-
Creates a new timed map with a default maximum age of 60 seconds.
- TimedMap(long) - Constructor for class net.pterodactylus.util.collection.TimedMap
-
Creates a new timed map.
- TimedMap(Map<K, V>) - Constructor for class net.pterodactylus.util.collection.TimedMap
-
Creates a new timed map with a default maximum age of 60 seconds, copying
the given map.
- TimedMap(long, Map<K, V>) - Constructor for class net.pterodactylus.util.collection.TimedMap
-
Creates a new timed map, copying the given map.
- TimedMemoryItemCache<T> - Class in net.pterodactylus.util.cache
-
A timed memory item cache is an
ItemCache implementation that stores
the item only for a certain time.
- TimedMemoryItemCache(ItemValueRetriever<T>, long) - Constructor for class net.pterodactylus.util.cache.TimedMemoryItemCache
-
Creates a new timed memory item cache.
- toArray() - Method in class net.pterodactylus.util.swing.ListModelList
- toArray(T[]) - Method in class net.pterodactylus.util.swing.ListModelList
- toArray() - Method in class net.pterodactylus.util.swing.SortedListModel
- toArray(U[]) - Method in class net.pterodactylus.util.swing.SortedListModel
- toByte(String) - Static method in class net.pterodactylus.util.number.Hex
-
Decodes a hexadecimal string into a byte array.
- toHex(String) - Static method in class net.pterodactylus.util.number.Hex
-
Converts the given string to a hexadecimal string.
- toHex(byte[]) - Static method in class net.pterodactylus.util.number.Hex
-
Converts the given buffer to a hexadecimal string.
- toHex(byte[], int, int) - Static method in class net.pterodactylus.util.number.Hex
-
Converts length bytes of the given buffer starting at index
start to a hexadecimal string.
- toHex(String, boolean) - Static method in class net.pterodactylus.util.number.Hex
-
Converts the given string to a hexadecimal string, using upper-case
characters for the digits ‘a’ to ‘f’, if desired.
- toHex(byte[], boolean) - Static method in class net.pterodactylus.util.number.Hex
-
Converts the given buffer to a hexadecimal string, using upper-case
characters for the digits ‘a’ to ‘f’, if desired.
- toHex(byte[], int, int, boolean) - Static method in class net.pterodactylus.util.number.Hex
-
Converts length bytes of the given buffer starting at index
start to a hexadecimal string, using upper-case characters
for the digits ‘a’ to ‘f’, if desired.
- toHex(byte) - Static method in class net.pterodactylus.util.number.Hex
-
Formats the given byte as a 2-digit hexadecimal value.
- toHex(short) - Static method in class net.pterodactylus.util.number.Hex
-
Formats the given shoirt as a 4-digit hexadecimal value.
- toHex(int) - Static method in class net.pterodactylus.util.number.Hex
-
Formats the given int as a 8-digit hexadecimal value.
- toHex(long) - Static method in class net.pterodactylus.util.number.Hex
-
Formats the given int as a 16-digit hexadecimal value.
- toHex(long, int) - Static method in class net.pterodactylus.util.number.Hex
-
Formats the given value with as a hexadecimal number with at least the
specified number of digits.
- ToolTipList - Class in net.pterodactylus.util.swing
-
Extension of
JList that retrieves the tool tip text to display from
the cell renderer.
- ToolTipList(ListModel) - Constructor for class net.pterodactylus.util.swing.ToolTipList
-
Creates a new tool tip list.
- toString() - Method in class net.pterodactylus.util.cmdline.Option
-
- toString() - Method in class net.pterodactylus.util.collection.Pair
-
- toString() - Method in class net.pterodactylus.util.collection.Triplet
-
- toString() - Method in class net.pterodactylus.util.service.AbstractService
- toString() - Method in class net.pterodactylus.util.service.State
-
Returns a textual representation of this state, consisting of the name of
this state and, if different, the name of its basic state.
- toString() - Method in class net.pterodactylus.util.storage.Allocation
- toString() - Method in class net.pterodactylus.util.swing.SortableTreeNode
- toString() - Method in class net.pterodactylus.util.text.FormattedMessage
- toString() - Method in class net.pterodactylus.util.time.Duration
- toString(boolean) - Method in class net.pterodactylus.util.time.Duration
-
Returns a textual representation of this duration.
- toString() - Method in class net.pterodactylus.util.validation.AndValidator
- toString() - Method in class net.pterodactylus.util.validation.DoubleRangeValidator
- toString() - Method in class net.pterodactylus.util.validation.EqualityValidator
- toString() - Method in class net.pterodactylus.util.validation.IdentityValidator
- toString() - Method in class net.pterodactylus.util.validation.IntegerRangeValidator
- toString() - Method in class net.pterodactylus.util.validation.LongRangeValidator
- toString() - Method in class net.pterodactylus.util.validation.NotNullValidator
- toString() - Method in class net.pterodactylus.util.validation.NotValidator
- toString() - Method in class net.pterodactylus.util.validation.OrValidator
- toString() - Method in class net.pterodactylus.util.validation.SubClassValidator
- toString() - Method in class net.pterodactylus.util.version.Version
-
- touch() - Method in class net.pterodactylus.util.notify.AbstractNotification
-
- transformToByteArray(Document) - Static method in class net.pterodactylus.util.xml.XML
-
Transforms the DOM XML document into a byte array.
- transformToDocument(byte[]) - Static method in class net.pterodactylus.util.xml.XML
-
Transforms the byte array into a DOM XML document.
- transformToDocument(InputStream) - Static method in class net.pterodactylus.util.xml.XML
-
Transforms the input stream into a DOM XML document.
- transformToDocument(Reader) - Static method in class net.pterodactylus.util.xml.XML
-
Transforms the reader into a DOM XML document.
- transformToDocument(InputSource) - Static method in class net.pterodactylus.util.xml.XML
-
Transforms the inout source into a DOM XML document.
- Tree<E extends Comparable<E>> - Class in net.pterodactylus.util.data
-
A tree structure in which every node can have an arbitrary amount of
children.
- Tree() - Constructor for class net.pterodactylus.util.data.Tree
-
- Triplet<T,U,V> - Class in net.pterodactylus.util.collection
-
3-tuple.
- Triplet(T, U, V) - Constructor for class net.pterodactylus.util.collection.Triplet
-
Creates a new triplet.
- TypeSafe - Class in net.pterodactylus.util.collection
-
Helper methods to simplify handling of unknown types when handling generics.
- TypeSafe() - Constructor for class net.pterodactylus.util.collection.TypeSafe
-