Index

A B C D E F G H I J K L M N O P Q R S T U V W _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractValidatingHandler - Class in org.ec4j.core.parser
A base class for EditorConfigHandlers which require value and glob related errors to be passed to ErrorHandler.
AbstractValidatingHandler(PropertyTypeRegistry) - Constructor for class org.ec4j.core.parser.AbstractValidatingHandler
 
Adaptable - Interface in org.ec4j.core.model
Allows extending some model class without having to bother with Java inheritance and generics.
Adaptable.DefaultAdaptable - Class in org.ec4j.core.model
 
Adaptable.DefaultAdaptable.Builder<B> - Class in org.ec4j.core.model
An Adaptable builder.
adapter(Object) - Method in class org.ec4j.core.model.Adaptable.DefaultAdaptable.Builder
Adds a single adapter
adapters - Variable in class org.ec4j.core.model.Adaptable.DefaultAdaptable
 
adapters - Variable in class org.ec4j.core.model.Adaptable.DefaultAdaptable.Builder
 
adapters(Object...) - Method in class org.ec4j.core.model.Adaptable.DefaultAdaptable.Builder
Adds multiple adapters
adapters(Collection<Object>) - Method in class org.ec4j.core.model.Adaptable.DefaultAdaptable.Builder
Adds multiple adapters
addNewSubsequenceForNext(int[]) - Method in class org.ec4j.core.ide.completion.LCSS.SequenceFinder
 
appendTo(StringBuilder) - Method in class org.ec4j.core.model.Section
 
applyDefaults() - Method in class org.ec4j.core.model.Section.Builder
Applies the defaults required by the core-tests, if necessary.
autodetect(String) - Static method in enum org.ec4j.core.model.PropertyType.EndOfLineValue
Autodetects an PropertyType.EndOfLineValue based on the first end of line in the given file content.

B

bestSubsequence(String, String) - Method in interface org.ec4j.core.ide.completion.CompletionEntryMatcher
 
bestSubsequence(String, String) - Static method in class org.ec4j.core.ide.completion.LCSS
Returns the best, i.e, the longest continuous sequence - or the empty sequence if no subsequence could be found.
blankLine(ParseContext) - Method in interface org.ec4j.core.parser.EditorConfigHandler
A blank line
blankLine(ParseContext) - Method in class org.ec4j.core.parser.EditorConfigModelHandler
A blank line
blankLine(ParseContext) - Method in class org.ec4j.core.parser.LocationAwareModelHandler
 
blankLine(ParseContext) - Method in class org.ec4j.core.parser.ValidatingHandler
A blank line
bom - Variable in class org.ec4j.core.Resource.Bom.BomCharset
 
Bom(String, byte[], Charset) - Constructor for enum org.ec4j.core.Resource.Bom
 
bomBytes - Variable in enum org.ec4j.core.Resource.Bom
 
bomBytesHumanReadable() - Method in enum org.ec4j.core.Resource.Bom
 
BomCharset(Resource.Bom, Charset) - Constructor for class org.ec4j.core.Resource.Bom.BomCharset
 
BOOLEAN_POSSIBLE_VALUES - Static variable in class org.ec4j.core.model.PropertyType
 
BOOLEAN_VALUE_PARSER - Static variable in interface org.ec4j.core.model.PropertyType.PropertyValueParser
A parser for boolean values true and false
buffer - Variable in class org.ec4j.core.parser.EditorConfigParser
 
bufferOffset - Variable in class org.ec4j.core.parser.EditorConfigParser
 
bufferSize - Variable in class org.ec4j.core.parser.EditorConfigParser.Builder
 
bufferSize(int) - Method in class org.ec4j.core.parser.EditorConfigParser.Builder
Sets the buffer size
build() - Method in class org.ec4j.core.model.Comments.CommentBlock.Builder
 
build() - Method in class org.ec4j.core.model.Comments.CommentBlocks.Builder
 
build() - Method in class org.ec4j.core.model.Comments.CommentLine.Builder
 
build() - Method in class org.ec4j.core.model.EditorConfig.Builder
 
build() - Method in class org.ec4j.core.model.Property.Builder
 
build() - Method in class org.ec4j.core.model.Section.Builder
 
build() - Method in class org.ec4j.core.parser.EditorConfigParser.Builder
 
build() - Method in class org.ec4j.core.PropertyTypeRegistry.Builder
 
build() - Method in class org.ec4j.core.Resource.Resources.StringResourceTree.Builder
 
build() - Method in class org.ec4j.core.ResourceProperties.Builder
 
build() - Method in class org.ec4j.core.ResourcePropertiesService.Builder
 
builder() - Static method in class org.ec4j.core.model.Comments.CommentBlocks
 
builder() - Static method in class org.ec4j.core.model.EditorConfig
 
builder() - Static method in class org.ec4j.core.model.Property
 
builder() - Static method in class org.ec4j.core.model.Section
 
builder() - Static method in class org.ec4j.core.parser.EditorConfigParser
 
builder() - Static method in class org.ec4j.core.parser.Span
 
builder() - Static method in class org.ec4j.core.PropertyTypeRegistry
 
builder() - Static method in class org.ec4j.core.Resource.Resources.StringResourceTree
 
builder() - Static method in class org.ec4j.core.ResourceProperties
 
builder() - Static method in class org.ec4j.core.ResourcePropertiesService
 
Builder() - Constructor for class org.ec4j.core.model.Adaptable.DefaultAdaptable.Builder
 
Builder() - Constructor for class org.ec4j.core.model.Comments.CommentBlocks.Builder
 
Builder() - Constructor for class org.ec4j.core.model.EditorConfig.Builder
 
Builder() - Constructor for class org.ec4j.core.parser.EditorConfigParser.Builder
 
Builder() - Constructor for class org.ec4j.core.parser.Span.Builder
 
Builder() - Constructor for class org.ec4j.core.PropertyTypeRegistry.Builder
 
Builder() - Constructor for class org.ec4j.core.Resource.Resources.StringResourceTree.Builder
 
Builder() - Constructor for class org.ec4j.core.ResourceProperties.Builder
 
Builder() - Constructor for class org.ec4j.core.ResourcePropertiesService.Builder
 
Builder(Comments.CommentBlock.Builder) - Constructor for class org.ec4j.core.model.Comments.CommentLine.Builder
 
Builder(Comments.CommentBlocks.Builder) - Constructor for class org.ec4j.core.model.Comments.CommentBlock.Builder
 
Builder(EditorConfig.Builder) - Constructor for class org.ec4j.core.model.Section.Builder
Constructs a new Section.Builder
Builder(Section.Builder) - Constructor for class org.ec4j.core.model.Property.Builder
 
buildGlobSpan() - Method in class org.ec4j.core.parser.Span.Builder
 
buildNameSpan() - Method in class org.ec4j.core.parser.Span.Builder
 
buildSpan() - Method in class org.ec4j.core.parser.Span.Builder
 
buildValueSpan() - Method in class org.ec4j.core.parser.Span.Builder
 

C

cache - Variable in class org.ec4j.core.ResourcePropertiesService.Builder
 
cache - Variable in class org.ec4j.core.ResourcePropertiesService
 
cache(Cache) - Method in class org.ec4j.core.ResourcePropertiesService.Builder
Sets the cache implementation
Cache - Interface in org.ec4j.core
A simple cache interface for EditorConfigs loaded out of Resources.
Cache.Caches - Class in org.ec4j.core
Factory methods for some basic Cache implementations.
Cache.Caches.PermanentCache - Class in org.ec4j.core
A simple HashMap based Cache whose entries are kept forver unless clear() is called.
Caches() - Constructor for class org.ec4j.core.Cache.Caches
 
captureBuffer - Variable in class org.ec4j.core.parser.EditorConfigParser
 
captureStart - Variable in class org.ec4j.core.parser.EditorConfigParser
 
charset - Static variable in class org.ec4j.core.model.PropertyType
 
charset - Variable in enum org.ec4j.core.Resource.Bom
 
Charsets() - Constructor for class org.ec4j.core.Resource.Charsets
 
ClassPathResource(ClassLoader, Ec4jPath, Charset) - Constructor for class org.ec4j.core.Resource.Resources.ClassPathResource
 
ClassPathResourcePath(ClassLoader, Ec4jPath, Charset) - Constructor for class org.ec4j.core.ResourcePath.ResourcePaths.ClassPathResourcePath
 
clear() - Method in class org.ec4j.core.Cache.Caches.PermanentCache
Removes all entries from this Cache.
Cli - Class in org.ec4j.core.cli
A simple command line wrapper over ResourcePropertiesService so that it can be tested against editorconfig-core-test
Cli() - Constructor for class org.ec4j.core.cli.Cli
 
close() - Method in class org.ec4j.core.Resource.Resources.StringRandomReader
 
closeComment() - Method in class org.ec4j.core.model.Comments.CommentLine.Builder
closeCommentBlock() - Method in class org.ec4j.core.model.Comments.CommentBlock.Builder
closeCommentBlockIfNeeded() - Method in class org.ec4j.core.parser.LocationAwareModelHandler
 
closeProperty() - Method in class org.ec4j.core.model.Property.Builder
Adds this Property.Builder to the parent Section.Builder using parent Section.Builder.property(Property.Builder) and returns the parent Section.Builder
closeSection() - Method in class org.ec4j.core.model.Section.Builder
column - Variable in class org.ec4j.core.parser.Location
The column number, starting at 1.
commentBlock(Comments.CommentBlock) - Method in class org.ec4j.core.model.Comments.CommentBlocks.Builder
Adds a single Comments.CommentBlock.
CommentBlock(List<Object>, List<Comments.CommentLine>) - Constructor for class org.ec4j.core.model.Comments.CommentBlock
 
commentBlockBuilder - Variable in class org.ec4j.core.parser.LocationAwareModelHandler
 
commentBlocks - Variable in class org.ec4j.core.model.Comments.CommentBlocks.Builder
 
commentBlocks - Variable in class org.ec4j.core.model.Comments.CommentBlocks
 
commentBlocks(Collection<Comments.CommentBlock>) - Method in class org.ec4j.core.model.Comments.CommentBlocks.Builder
Adds multiple Comments.CommentBlocks.
commentBlocks(Comments.CommentBlock...) - Method in class org.ec4j.core.model.Comments.CommentBlocks.Builder
Adds multiple Comments.CommentBlocks.
CommentBlocks(List<Object>, List<Comments.CommentBlock>) - Constructor for class org.ec4j.core.model.Comments.CommentBlocks
 
commentBlocksBuilder - Variable in class org.ec4j.core.parser.LocationAwareModelHandler
 
commentLine(Comments.CommentLine) - Method in class org.ec4j.core.model.Comments.CommentBlock.Builder
Adds a single Comments.CommentLine.
CommentLine(List<Object>, String) - Constructor for class org.ec4j.core.model.Comments.CommentLine
 
commentLines - Variable in class org.ec4j.core.model.Comments.CommentBlock.Builder
 
commentLines - Variable in class org.ec4j.core.model.Comments.CommentBlock
 
commentLines(Collection<Comments.CommentLine>) - Method in class org.ec4j.core.model.Comments.CommentBlock.Builder
Adds multiple Comments.CommentLines.
commentLines(Comments.CommentLine...) - Method in class org.ec4j.core.model.Comments.CommentBlock.Builder
Adds multiple Comments.CommentLines.
Comments - Class in org.ec4j.core.model
Comments() - Constructor for class org.ec4j.core.model.Comments
 
COMMENTS - Enum constant in enum org.ec4j.core.ide.TokenContext.TokenContextType
 
Comments.CommentBlock - Class in org.ec4j.core.model
A collection of contiguous Comments.CommentLines.
Comments.CommentBlock.Builder - Class in org.ec4j.core.model
Comments.CommentBlocks - Class in org.ec4j.core.model
A collection of Comments.CommentBlocks.
Comments.CommentBlocks.Builder - Class in org.ec4j.core.model
Comments.CommentLine - Class in org.ec4j.core.model
A single comment line.
Comments.CommentLine.Builder - Class in org.ec4j.core.model
commentSpan - Variable in class org.ec4j.core.parser.LocationAwareModelHandler
 
compareTo(Version) - Method in class org.ec4j.core.model.Version
 
completion - Variable in class org.ec4j.core.ide.completion.LCSS.SequenceFinder
 
CompletionEntry - Class in org.ec4j.core.ide.completion
 
CompletionEntry(String, CompletionEntryMatcher, PropertyType<?>, TokenContext.TokenContextType, int) - Constructor for class org.ec4j.core.ide.completion.CompletionEntry
 
CompletionEntryMatcher - Interface in org.ec4j.core.ide.completion
Matcher for completion entry.
configFileName - Variable in class org.ec4j.core.ResourcePropertiesService.Builder
 
configFileName - Variable in class org.ec4j.core.ResourcePropertiesService
 
configFileName(String) - Method in class org.ec4j.core.ResourcePropertiesService.Builder
Sets the file name to consider as an .editorconfig file.
contains(Charset) - Method in class org.ec4j.core.Resource.Bom.BomCharset
containsSubsequence(String, String) - Static method in class org.ec4j.core.ide.completion.LCSS
 
content - Variable in class org.ec4j.core.Resource.Resources.StringRandomReader
The content to read as a String
content - Variable in class org.ec4j.core.Resource.Resources.StringResource
The String content
contextType - Variable in class org.ec4j.core.ide.completion.CompletionEntry
 
convertGlobToRegEx(String, List<int[]>, StringBuilder) - Static method in class org.ec4j.core.model.Glob
Copied from EditorConfig by Dennis Ushakov.
cr - Enum constant in enum org.ec4j.core.model.PropertyType.EndOfLineValue
 
crlf - Enum constant in enum org.ec4j.core.model.PropertyType.EndOfLineValue
 
current - Variable in class org.ec4j.core.parser.EditorConfigParser
 
CURRENT - Static variable in class org.ec4j.core.model.Version
 
curSequences - Variable in class org.ec4j.core.ide.completion.LCSS.SequenceFinder
 

D

DASH - Static variable in class org.ec4j.core.model.Version
 
default_() - Static method in class org.ec4j.core.EditorConfigLoader
 
default_() - Static method in class org.ec4j.core.parser.EditorConfigParser
 
default_() - Static method in class org.ec4j.core.PropertyTypeRegistry
 
default_() - Static method in class org.ec4j.core.ResourcePropertiesService
A shorthand for ResourcePropertiesService.builder().build().
DEFAULT_BUFFER_SIZE - Static variable in class org.ec4j.core.parser.EditorConfigParser
 
DefaultAdaptable(List<Object>) - Constructor for class org.ec4j.core.model.Adaptable.DefaultAdaptable
 
defaultEditorConfig(EditorConfig) - Method in class org.ec4j.core.ResourcePropertiesService.Builder
Adds a single EditorConfig model that contains default settings beyond the ones set in the filesystem.
defaultEditorConfigs - Variable in class org.ec4j.core.ResourcePropertiesService.Builder
 
defaultEditorConfigs - Variable in class org.ec4j.core.ResourcePropertiesService
 
defaultEditorConfigs(Collection<EditorConfig>) - Method in class org.ec4j.core.ResourcePropertiesService.Builder
Adds multiple EditorConfig models that contain default settings beyond the ones set in the filesystem.
defaultEditorConfigs(EditorConfig...) - Method in class org.ec4j.core.ResourcePropertiesService.Builder
Adds multiple EditorConfig models that contain default settings beyond the ones set in the filesystem.
defaults() - Method in class org.ec4j.core.PropertyTypeRegistry.Builder
delegate - Variable in class org.ec4j.core.Resource.Bom.BomCharset
 
description - Variable in class org.ec4j.core.model.PropertyType
 
directory - Variable in class org.ec4j.core.ResourcePropertiesService.DirEditorConfigPair
 
DirEditorConfigPair(ResourcePath, EditorConfig) - Constructor for class org.ec4j.core.ResourcePropertiesService.DirEditorConfigPair
 
displayValue - Variable in enum org.ec4j.core.model.PropertyType.EndOfLineValue
 
displayValue - Variable in enum org.ec4j.core.model.PropertyType.IndentStyleValue
 

E

Ec4jPath - Interface in org.ec4j.core.model
A path in a tree of resources.
Ec4jPath.Ec4jPaths - Class in org.ec4j.core.model
Holds a few basic Ec4jPath implementations.
Ec4jPath.Ec4jPaths.NioPath - Class in org.ec4j.core.model
An Ec4jPath based on Path.
Ec4jPath.Ec4jPaths.StringPath - Class in org.ec4j.core.model
A simple String based Ec4jPath.
Ec4jPaths() - Constructor for class org.ec4j.core.model.Ec4jPath.Ec4jPaths
 
editorConfig - Variable in class org.ec4j.core.ResourcePropertiesService.DirEditorConfigPair
 
EditorConfig - Class in org.ec4j.core.model
A immutable model of an .editorconfig file.
EditorConfig(List<Object>, Boolean, Version, List<Section>) - Constructor for class org.ec4j.core.model.EditorConfig
You look for EditorConfig.builder() if you wonder why this constructor is package visible.
EDITORCONFIG - Static variable in class org.ec4j.core.EditorConfigConstants
 
EditorConfig.Builder - Class in org.ec4j.core.model
An EditorConfig builder.
editorConfigBuilder - Variable in class org.ec4j.core.parser.EditorConfigModelHandler
 
EditorConfigConstants - Class in org.ec4j.core
 
EditorConfigConstants() - Constructor for class org.ec4j.core.EditorConfigConstants
 
editorConfigFile(Ec4jPath) - Method in class org.ec4j.core.ResourceProperties.Builder
Adds a single Ec4jPath.
editorConfigFiles - Variable in class org.ec4j.core.ResourceProperties.Builder
 
editorConfigFiles - Variable in class org.ec4j.core.ResourceProperties
 
editorConfigFiles(Collection<Ec4jPath>) - Method in class org.ec4j.core.ResourceProperties.Builder
Adds multiple Ec4jPaths.
editorConfigFiles(Ec4jPath...) - Method in class org.ec4j.core.ResourceProperties.Builder
Adds multiple Ec4jPaths.
EditorConfigHandler - Interface in org.ec4j.core.parser
A handler that gets notified about parse events from EditorConfigParser.parse(Resource, EditorConfigHandler, ErrorHandler) .
EditorConfigLoader - Class in org.ec4j.core
Implements the capability of loading an EditorConfig object out of a Resource.
EditorConfigLoader(EditorConfigModelHandler, ErrorHandler) - Constructor for class org.ec4j.core.EditorConfigLoader
 
EditorConfigModelHandler - Class in org.ec4j.core.parser
A EditorConfigHandler implementation that assemles EditorConfig instances out of the parse notifications.
EditorConfigModelHandler(PropertyTypeRegistry, Version) - Constructor for class org.ec4j.core.parser.EditorConfigModelHandler
 
EditorConfigParser - Class in org.ec4j.core.parser
 
EditorConfigParser(int) - Constructor for class org.ec4j.core.parser.EditorConfigParser
EditorConfigParser.Builder - Class in org.ec4j.core.parser
EditorConfigParser.StopReading - Enum in org.ec4j.core.parser
 
EMPTY_SEQUENCE - Static variable in class org.ec4j.core.ide.completion.LCSS
 
EMPTY_SEQUENCE - Static variable in class org.ec4j.core.ide.completion.LCSS.SequenceFinder
 
EMPTY_STRING_ARRAY - Static variable in class org.ec4j.core.Resource.Bom.BomCharset
 
encoding - Variable in class org.ec4j.core.Resource.Resources.ClassPathResource
 
encoding - Variable in class org.ec4j.core.Resource.Resources.PathResource
 
encoding - Variable in class org.ec4j.core.ResourcePath.ResourcePaths.ClassPathResourcePath
 
encoding - Variable in class org.ec4j.core.ResourcePath.ResourcePaths.PathResourcePath
 
end - Variable in class org.ec4j.core.parser.Span.Builder
 
end - Variable in class org.ec4j.core.parser.Span
 
end(Location) - Method in class org.ec4j.core.parser.Span.Builder
Sets the end of the Span.
end_of_line - Static variable in class org.ec4j.core.model.PropertyType
 
endCapture() - Method in class org.ec4j.core.parser.EditorConfigParser
 
endCapture(int, boolean) - Method in class org.ec4j.core.parser.EditorConfigParser
 
endComment(ParseContext, String) - Method in interface org.ec4j.core.parser.EditorConfigHandler
End of a comment line
endComment(ParseContext, String) - Method in class org.ec4j.core.parser.EditorConfigModelHandler
End of a comment line
endComment(ParseContext, String) - Method in class org.ec4j.core.parser.LocationAwareModelHandler
 
endComment(ParseContext, String) - Method in class org.ec4j.core.parser.ValidatingHandler
End of a comment line
endDocument(ParseContext) - Method in interface org.ec4j.core.parser.EditorConfigHandler
End of a document event
endDocument(ParseContext) - Method in class org.ec4j.core.parser.EditorConfigModelHandler
End of a document event
endDocument(ParseContext) - Method in class org.ec4j.core.parser.LocationAwareModelHandler
End of a document event
endDocument(ParseContext) - Method in class org.ec4j.core.parser.ValidatingHandler
End of a document event
endGlob(ParseContext, String) - Method in class org.ec4j.core.parser.AbstractValidatingHandler
End of a glob pattern
endGlob(ParseContext, String) - Method in interface org.ec4j.core.parser.EditorConfigHandler
End of a glob pattern
endGlob(ParseContext, String) - Method in class org.ec4j.core.parser.LocationAwareModelHandler
End of a glob pattern
endIfNeeded(Location) - Method in class org.ec4j.core.parser.Span.Builder
Sets the end of the Span unless it was set already.
EndOfLineValue(String, String) - Constructor for enum org.ec4j.core.model.PropertyType.EndOfLineValue
 
endProperty(ParseContext) - Method in interface org.ec4j.core.parser.EditorConfigHandler
End of a property
endProperty(ParseContext) - Method in class org.ec4j.core.parser.EditorConfigModelHandler
End of a property
endProperty(ParseContext) - Method in class org.ec4j.core.parser.LocationAwareModelHandler
 
endProperty(ParseContext) - Method in class org.ec4j.core.parser.ValidatingHandler
End of a property
endPropertyName(ParseContext, String) - Method in class org.ec4j.core.parser.AbstractValidatingHandler
End of a property name
endPropertyName(ParseContext, String) - Method in interface org.ec4j.core.parser.EditorConfigHandler
End of a property name
endPropertyName(ParseContext, String) - Method in class org.ec4j.core.parser.LocationAwareModelHandler
End of a property name
endPropertyValue(ParseContext, String) - Method in class org.ec4j.core.parser.AbstractValidatingHandler
Start of a property name
endPropertyValue(ParseContext, String) - Method in interface org.ec4j.core.parser.EditorConfigHandler
Start of a property name
endPropertyValue(ParseContext, String) - Method in class org.ec4j.core.parser.LocationAwareModelHandler
Start of a property name
endSection(ParseContext) - Method in interface org.ec4j.core.parser.EditorConfigHandler
End of a section
endSection(ParseContext) - Method in class org.ec4j.core.parser.EditorConfigModelHandler
End of a section
endSection(ParseContext) - Method in class org.ec4j.core.parser.LocationAwareModelHandler
End of a section
endSection(ParseContext) - Method in class org.ec4j.core.parser.ValidatingHandler
End of a section
entries - Variable in class org.ec4j.core.Cache.Caches.PermanentCache
 
enumType - Variable in class org.ec4j.core.model.PropertyType.PropertyValueParser.EnumValueParser
 
EnumValueParser(Class<? extends T>) - Constructor for class org.ec4j.core.model.PropertyType.PropertyValueParser.EnumValueParser
 
eolString - Variable in enum org.ec4j.core.model.PropertyType.EndOfLineValue
 
equals(Object) - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.NioPath
equals(Object) - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.StringPath
equals(Object) - Method in class org.ec4j.core.model.EditorConfig
 
equals(Object) - Method in class org.ec4j.core.model.Glob
 
equals(Object) - Method in class org.ec4j.core.model.Property
 
equals(Object) - Method in class org.ec4j.core.model.PropertyType.PropertyValue
 
equals(Object) - Method in class org.ec4j.core.model.Section
 
equals(Object) - Method in class org.ec4j.core.model.Version
 
equals(Object) - Method in class org.ec4j.core.parser.Location
equals(Object) - Method in class org.ec4j.core.parser.Span
equals(Object) - Method in class org.ec4j.core.Resource.Resources.ClassPathResource
 
equals(Object) - Method in class org.ec4j.core.Resource.Resources.PathResource
equals(Object) - Method in class org.ec4j.core.Resource.Resources.StringResource
 
equals(Object) - Method in class org.ec4j.core.ResourcePath.ResourcePaths.ClassPathResourcePath
 
equals(Object) - Method in class org.ec4j.core.ResourcePath.ResourcePaths.PathResourcePath
equals(Object) - Method in class org.ec4j.core.ResourcePath.ResourcePaths.StringResourcePath
error - Variable in class org.ec4j.core.model.Glob
 
error(ParseContext, ErrorEvent) - Method in interface org.ec4j.core.parser.ErrorHandler
A ErrorEvent occured.
ErrorEvent - Class in org.ec4j.core.parser
An occurrence of syntax error or other error in an .editorconfig file.
ErrorEvent(Location, Location, Resource, String, ErrorEvent.ErrorType) - Constructor for class org.ec4j.core.parser.ErrorEvent
 
ErrorEvent.ErrorType - Enum in org.ec4j.core.parser
A way to keep apart various kinds of errors in a type safe way.
errorHandler - Variable in class org.ec4j.core.EditorConfigLoader
 
errorHandler - Variable in class org.ec4j.core.parser.EditorConfigParser
 
ErrorHandler - Interface in org.ec4j.core.parser
A handler that gets notified on ErrorEvents by EditorConfigParser.
errorMessage - Variable in class org.ec4j.core.model.PropertyType.PropertyValue
 
errorType - Variable in class org.ec4j.core.parser.ErrorEvent
 
ErrorType(boolean) - Constructor for enum org.ec4j.core.parser.ErrorEvent.ErrorType
 
ESCAPED_COMMENT_SIGNS - Static variable in class org.ec4j.core.model.Glob
 
escapeToRegex(char, StringBuilder) - Static method in class org.ec4j.core.model.Glob
Copied from EditorConfig by Dennis Ushakov.
exists() - Method in interface org.ec4j.core.Resource
 
exists() - Method in class org.ec4j.core.Resource.Resources.ClassPathResource
exists() - Method in class org.ec4j.core.Resource.Resources.PathResource
exists() - Method in class org.ec4j.core.Resource.Resources.StringResource
EXPECTED_END_OF_INPUT - Enum constant in enum org.ec4j.core.parser.ErrorEvent.ErrorType
 
EXPECTED_STRING_CHARACTER - Enum constant in enum org.ec4j.core.parser.ErrorEvent.ErrorType
 

F

fill - Variable in class org.ec4j.core.parser.EditorConfigParser
 
findChar(char, char, String, int, int) - Static method in class org.ec4j.core.model.Glob
Copied from EditorConfig by Dennis Ushakov.
findSeqeuences() - Method in class org.ec4j.core.ide.completion.LCSS.SequenceFinder
 
findSequences(String, String) - Static method in class org.ec4j.core.ide.completion.LCSS
 
forName(String) - Static method in class org.ec4j.core.Resource.Charsets
A BOM aware replacement of Charset.forName(String)

G

get(Resource, EditorConfigLoader) - Method in class org.ec4j.core.Cache.Caches.PermanentCache
 
get(Resource, EditorConfigLoader) - Method in interface org.ec4j.core.Cache
 
getAdapter(Class<T>) - Method in class org.ec4j.core.model.Adaptable.DefaultAdaptable
 
getAdapter(Class<T>) - Method in interface org.ec4j.core.model.Adaptable
Returns this adapted as an object of the given type or null if adapting to a given type is not possible.
getAdapter(Class<T>) - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.NioPath
 
getAdapter(Class<T>) - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.StringPath
 
getBom() - Method in class org.ec4j.core.Resource.Bom.BomCharset
 
getBomBytes() - Method in enum org.ec4j.core.Resource.Bom
 
getCache() - Method in class org.ec4j.core.ResourcePropertiesService
 
getCharset() - Method in enum org.ec4j.core.Resource.Bom
 
getColumn() - Method in class org.ec4j.core.parser.Location
 
getCommentBlocks() - Method in class org.ec4j.core.model.Comments.CommentBlocks
 
getCommentLines() - Method in class org.ec4j.core.model.Comments.CommentBlock
 
getCompletionEntries(int, Resource.RandomReader, CompletionEntryMatcher) - Method in class org.ec4j.core.ide.IdeSupportService
 
getConfigFileName() - Method in class org.ec4j.core.ResourcePropertiesService
 
getContextType() - Method in class org.ec4j.core.ide.completion.CompletionEntry
 
getDefaultEditorConfigs() - Method in class org.ec4j.core.ResourcePropertiesService
 
getDescription() - Method in class org.ec4j.core.model.PropertyType
 
getEditorConfig() - Method in class org.ec4j.core.parser.EditorConfigModelHandler
 
getEditorConfigFiles() - Method in class org.ec4j.core.ResourceProperties
 
getEnd() - Method in class org.ec4j.core.parser.Span
 
getEndOfLineString() - Method in enum org.ec4j.core.model.PropertyType.EndOfLineValue
 
getError() - Method in class org.ec4j.core.model.Glob
 
getErrorHandler() - Method in class org.ec4j.core.parser.EditorConfigParser
getErrorHandler() - Method in interface org.ec4j.core.parser.ParseContext
 
getErrorMessage() - Method in class org.ec4j.core.model.PropertyType.PropertyValue
 
getErrorType() - Method in class org.ec4j.core.parser.ErrorEvent
ErrorEvent.ErrorType is a way to keep apart various kinds of errors in a type safe way.
getGlob() - Method in class org.ec4j.core.model.Section
 
getHover(int, Resource.RandomReader) - Method in class org.ec4j.core.ide.IdeSupportService
 
getIndentChar() - Method in enum org.ec4j.core.model.PropertyType.IndentStyleValue
 
getInitialOffset() - Method in class org.ec4j.core.ide.completion.CompletionEntry
 
getLastSegment() - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.NioPath
getLastSegment() - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.StringPath
getLastSegment() - Method in interface org.ec4j.core.model.Ec4jPath
 
getLength() - Method in interface org.ec4j.core.Resource.RandomReader
 
getLength() - Method in class org.ec4j.core.Resource.Resources.StringRandomReader
getLine() - Method in class org.ec4j.core.parser.Location
 
getLoader() - Method in class org.ec4j.core.ResourcePropertiesService
 
getLocation() - Method in class org.ec4j.core.parser.EditorConfigParser
getLocation() - Method in interface org.ec4j.core.parser.ParseContext
 
getMajor() - Method in class org.ec4j.core.model.Version
 
getMatcher() - Method in class org.ec4j.core.ide.completion.CompletionEntry
 
getMessage() - Method in class org.ec4j.core.parser.ErrorEvent
 
getMicro() - Method in class org.ec4j.core.model.Version
 
getMinor() - Method in class org.ec4j.core.model.Version
 
getName() - Method in class org.ec4j.core.ide.completion.CompletionEntry
 
getName() - Method in class org.ec4j.core.ide.TokenContext
 
getName() - Method in class org.ec4j.core.model.Property
 
getName() - Method in class org.ec4j.core.model.PropertyType
 
getName() - Method in enum org.ec4j.core.Resource.Bom
 
getNumericRange(String) - Static method in class org.ec4j.core.model.Glob
Copied from EditorConfig by Dennis Ushakov.
getOffset() - Method in class org.ec4j.core.parser.Location
 
getParent() - Method in interface org.ec4j.core.Resource
 
getParent() - Method in class org.ec4j.core.Resource.Resources.ClassPathResource
getParent() - Method in class org.ec4j.core.Resource.Resources.PathResource
getParent() - Method in class org.ec4j.core.Resource.Resources.StringResource
getParent() - Method in interface org.ec4j.core.ResourcePath
 
getParent() - Method in class org.ec4j.core.ResourcePath.ResourcePaths.ClassPathResourcePath
getParent() - Method in class org.ec4j.core.ResourcePath.ResourcePaths.PathResourcePath
getParent() - Method in class org.ec4j.core.ResourcePath.ResourcePaths.StringResourcePath
getParentPath() - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.NioPath
getParentPath() - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.StringPath
getParentPath() - Method in interface org.ec4j.core.model.Ec4jPath
 
getParsed() - Method in class org.ec4j.core.model.PropertyType.PropertyValue
 
getPath() - Method in interface org.ec4j.core.Resource
 
getPath() - Method in class org.ec4j.core.Resource.Resources.ClassPathResource
getPath() - Method in class org.ec4j.core.Resource.Resources.PathResource
getPath() - Method in class org.ec4j.core.Resource.Resources.StringResource
getPath() - Method in interface org.ec4j.core.ResourcePath
 
getPath() - Method in class org.ec4j.core.ResourcePath.ResourcePaths.ClassPathResourcePath
getPath() - Method in class org.ec4j.core.ResourcePath.ResourcePaths.PathResourcePath
getPath() - Method in class org.ec4j.core.ResourcePath.ResourcePaths.StringResourcePath
getPossibleValues() - Method in class org.ec4j.core.model.PropertyType
 
getPrefix() - Method in class org.ec4j.core.ide.completion.CompletionEntry
 
getPrefix() - Method in class org.ec4j.core.ide.TokenContext
 
getProperties() - Method in class org.ec4j.core.model.Section
 
getProperties() - Method in class org.ec4j.core.ResourceProperties
 
getPropertyType() - Method in class org.ec4j.core.ide.completion.CompletionEntry
 
getQualifier() - Method in class org.ec4j.core.model.Version
 
getRelevance() - Method in class org.ec4j.core.ide.completion.CompletionEntry
 
getResource() - Method in class org.ec4j.core.parser.EditorConfigParser
getResource() - Method in class org.ec4j.core.parser.ErrorEvent
 
getResource() - Method in interface org.ec4j.core.parser.ParseContext
 
getResource(String) - Method in class org.ec4j.core.Resource.Resources.StringResourceTree
 
getResource(Ec4jPath) - Method in class org.ec4j.core.Resource.Resources.StringResourceTree
 
getRootDirectories() - Method in class org.ec4j.core.ResourcePropertiesService
 
getSections() - Method in class org.ec4j.core.model.EditorConfig
 
getSource() - Method in class org.ec4j.core.model.Glob
 
getSource() - Method in class org.ec4j.core.model.PropertyType.PropertyValue
 
getSourceValue() - Method in class org.ec4j.core.model.Property
 
getStart() - Method in class org.ec4j.core.parser.Span
 
getText() - Method in class org.ec4j.core.model.Comments.CommentLine
 
getTokenContext(int, Resource.RandomReader, boolean) - Static method in class org.ec4j.core.ide.IdeSupportService
 
getType() - Method in class org.ec4j.core.ide.TokenContext
 
getType() - Method in class org.ec4j.core.model.Property
 
getType(String) - Method in class org.ec4j.core.PropertyTypeRegistry
 
getTypes() - Method in class org.ec4j.core.PropertyTypeRegistry
 
getValue(String, T, boolean) - Method in class org.ec4j.core.ResourceProperties
Gets a Property from ResourceProperties.properties by the given name and returns Property.getValueAs() or returns defaultValue if no such name is available in ResourceProperties.properties.
getValue(PropertyType<T>, T, boolean) - Method in class org.ec4j.core.ResourceProperties
Gets a Property from ResourceProperties.properties by the name of the given PropertyType and returns Property.getValueAs() or returns defaultValue if no such name is available in ResourceProperties.properties.
getValueAs() - Method in class org.ec4j.core.model.Property
 
getVersion() - Method in class org.ec4j.core.model.EditorConfig
 
glob - Variable in class org.ec4j.core.model.Section.Builder
 
glob - Variable in class org.ec4j.core.model.Section
 
glob(Glob) - Method in class org.ec4j.core.model.Section.Builder
Sets the Glob
glob(ParseContext, Glob) - Method in class org.ec4j.core.parser.AbstractValidatingHandler
Handle the Glob created out of the glob string hit recently in the underlying .editorconfig file.
glob(ParseContext, Glob) - Method in class org.ec4j.core.parser.EditorConfigModelHandler
 
glob(ParseContext, Glob) - Method in class org.ec4j.core.parser.ValidatingHandler
Handle the Glob created out of the glob string hit recently in the underlying .editorconfig file.
Glob - Class in org.ec4j.core.model
An EditorConfig glob.
Glob - Enum constant in enum org.ec4j.core.parser.EditorConfigParser.StopReading
 
Glob(String) - Constructor for class org.ec4j.core.model.Glob
 
GLOB_NOT_CLOSED - Enum constant in enum org.ec4j.core.parser.ErrorEvent.ErrorType
 
globNotClosed() - Method in class org.ec4j.core.parser.EditorConfigParser
 
globSpan - Variable in class org.ec4j.core.parser.LocationAwareModelHandler
 
GlobSpan(Location, Location) - Constructor for class org.ec4j.core.parser.Span.GlobSpan
 
globStart - Variable in class org.ec4j.core.parser.AbstractValidatingHandler
 

H

handler - Variable in class org.ec4j.core.EditorConfigLoader
 
handler - Variable in class org.ec4j.core.parser.EditorConfigParser
 
hashCode() - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.NioPath
hashCode() - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.StringPath
hashCode() - Method in class org.ec4j.core.model.EditorConfig
 
hashCode() - Method in class org.ec4j.core.model.Glob
 
hashCode() - Method in class org.ec4j.core.model.Property
 
hashCode() - Method in class org.ec4j.core.model.PropertyType.PropertyValue
 
hashCode() - Method in class org.ec4j.core.model.Section
 
hashCode() - Method in class org.ec4j.core.model.Version
 
hashCode() - Method in class org.ec4j.core.parser.Location
hashCode() - Method in class org.ec4j.core.parser.Span
hashCode() - Method in class org.ec4j.core.Resource.Resources.ClassPathResource
hashCode() - Method in class org.ec4j.core.Resource.Resources.PathResource
hashCode() - Method in class org.ec4j.core.Resource.Resources.StringResource
hashCode() - Method in class org.ec4j.core.ResourcePath.ResourcePaths.ClassPathResourcePath
hashCode() - Method in class org.ec4j.core.ResourcePath.ResourcePaths.PathResourcePath
hashCode() - Method in class org.ec4j.core.ResourcePath.ResourcePaths.StringResourcePath
hasParent() - Method in interface org.ec4j.core.ResourcePath
 
hasParent() - Method in class org.ec4j.core.ResourcePath.ResourcePaths.ClassPathResourcePath
hasParent() - Method in class org.ec4j.core.ResourcePath.ResourcePaths.PathResourcePath
hasParent() - Method in class org.ec4j.core.ResourcePath.ResourcePaths.StringResourcePath
hasRootProperty() - Method in class org.ec4j.core.model.EditorConfig
 

I

IDENTITY_VALUE_PARSER - Static variable in interface org.ec4j.core.model.PropertyType.PropertyValueParser
A dummy parser that does no parsing at all.
IdeSupportService - Class in org.ec4j.core.ide
EditorConfig service helpful for IDE: validation completion
IdeSupportService(PropertyTypeRegistry) - Constructor for class org.ec4j.core.ide.IdeSupportService
 
IGNORING - Static variable in interface org.ec4j.core.parser.ErrorHandler
indent_size - Static variable in class org.ec4j.core.model.PropertyType
Note that tab is a legal value of indent_size - see https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#indent_size and https://github.com/editorconfig/editorconfig/issues/54
INDENT_SIZE_VALUE_PARSER - Static variable in interface org.ec4j.core.model.PropertyType.PropertyValueParser
indent_style - Static variable in class org.ec4j.core.model.PropertyType
 
indentChar - Variable in enum org.ec4j.core.model.PropertyType.IndentStyleValue
 
IndentStyleValue(String, char) - Constructor for enum org.ec4j.core.model.PropertyType.IndentStyleValue
 
index - Variable in class org.ec4j.core.parser.EditorConfigParser
 
initialOffset - Variable in class org.ec4j.core.ide.completion.CompletionEntry
 
inSection - Variable in class org.ec4j.core.parser.EditorConfigParser
 
insert_final_newline - Static variable in class org.ec4j.core.model.PropertyType
 
invalid(String, String) - Static method in class org.ec4j.core.model.PropertyType.PropertyValue
 
INVALID_GLOB - Enum constant in enum org.ec4j.core.parser.ErrorEvent.ErrorType
 
INVALID_PROPERTY_VALUE - Enum constant in enum org.ec4j.core.parser.ErrorEvent.ErrorType
 
isAbsolute() - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.NioPath
isAbsolute() - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.StringPath
isAbsolute() - Method in interface org.ec4j.core.model.Ec4jPath
 
isColonSeparator() - Method in class org.ec4j.core.parser.EditorConfigParser
 
isConstantName(String) - Method in class org.ec4j.core.ide.completion.LCSS.SequenceFinder
 
isEmpty() - Method in class org.ec4j.core.model.Glob
 
isEmpty(String) - Static method in class org.ec4j.core.ide.completion.CompletionEntry
 
isEndOfText() - Method in class org.ec4j.core.parser.EditorConfigParser
 
isNewLine() - Method in class org.ec4j.core.parser.EditorConfigParser
 
isNewLine(int) - Method in class org.ec4j.core.parser.EditorConfigParser
 
isRoot() - Method in class org.ec4j.core.model.EditorConfig
 
isSameIgnoreCase(char, char) - Method in class org.ec4j.core.ide.completion.LCSS.SequenceFinder
 
isStopReading(EditorConfigParser.StopReading) - Method in class org.ec4j.core.parser.EditorConfigParser
 
isSyntaxError() - Method in enum org.ec4j.core.parser.ErrorEvent.ErrorType
Syntax errors are such ones that have to do with the .editorconfig file structure, such a as property without value, or property name not followed by equal sign.
isUnset() - Method in class org.ec4j.core.model.Property
 
isUnset() - Method in class org.ec4j.core.model.PropertyType.PropertyValue
 
isValid() - Method in class org.ec4j.core.model.Glob
 
isValid() - Method in class org.ec4j.core.model.Property
 
isValid() - Method in class org.ec4j.core.model.PropertyType.PropertyValue
 
isWhiteSpace() - Method in class org.ec4j.core.parser.EditorConfigParser
 
isWhiteSpace(int) - Static method in class org.ec4j.core.parser.EditorConfigParser
 
isWindows - Static variable in class org.ec4j.core.cli.Cli
 
isWindows - Static variable in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.NioPath
 

J

jumpToEndOfWord() - Method in class org.ec4j.core.ide.completion.LCSS.SequenceFinder
 

K

keepUnset - Variable in class org.ec4j.core.ResourcePropertiesService.Builder
 
keepUnset - Variable in class org.ec4j.core.ResourcePropertiesService
 
keepUnset(boolean) - Method in class org.ec4j.core.ResourcePropertiesService.Builder
When set to true the Propertys with the unset value will be kept in the ResourceProperties returned by ResourcePropertiesService.queryProperties(Resource); otherwise the Propertys with the unset value will be removed from the ResourceProperties returned by ResourcePropertiesService.queryProperties(Resource).

L

last - Variable in class org.ec4j.core.parser.EditorConfigParser
 
LCS - Static variable in interface org.ec4j.core.ide.completion.CompletionEntryMatcher
 
LCSS - Class in org.ec4j.core.ide.completion
Copied from https://github.com/eclipse/recommenders/blob/master/plugins/org.eclipse.recommenders.subwords.rcp/src/org/eclipse/recommenders/internal/subwords/rcp/LCSS.java
LCSS() - Constructor for class org.ec4j.core.ide.completion.LCSS
 
LCSS.SequenceFinder - Class in org.ec4j.core.ide.completion
Copied from https://github.com/eclipse/recommenders/blob/master/plugins/org.eclipse.recommenders.subwords.rcp/src/org/eclipse/recommenders/internal/subwords/rcp/SequenceFinder.java
lf - Enum constant in enum org.ec4j.core.model.PropertyType.EndOfLineValue
 
line - Variable in class org.ec4j.core.parser.EditorConfigParser
 
line - Variable in class org.ec4j.core.parser.Location
The line number, starting at 1.
lineOffset - Variable in class org.ec4j.core.parser.EditorConfigParser
 
load(Resource) - Method in class org.ec4j.core.EditorConfigLoader
Loads an EditorConfig object out of the given configFile.
loader - Variable in class org.ec4j.core.Resource.Resources.ClassPathResource
 
loader - Variable in class org.ec4j.core.ResourcePath.ResourcePaths.ClassPathResourcePath
 
loader - Variable in class org.ec4j.core.ResourcePropertiesService.Builder
 
loader - Variable in class org.ec4j.core.ResourcePropertiesService
 
loader(EditorConfigLoader) - Method in class org.ec4j.core.ResourcePropertiesService.Builder
Location - Class in org.ec4j.core.parser
An immutable object that represents a location in the parsed text.
Location(int, int, int) - Constructor for class org.ec4j.core.parser.Location
 
LocationAwareModelHandler - Class in org.ec4j.core.parser
An EditorConfigHandler that stores the start and end location information to the individual model elements using Span adapters and its subclasses.
LocationAwareModelHandler(PropertyTypeRegistry, Version, ErrorHandler) - Constructor for class org.ec4j.core.parser.LocationAwareModelHandler
 
LowerCasingPropertyType(String, String, PropertyType.PropertyValueParser<T>, String...) - Constructor for class org.ec4j.core.model.PropertyType.LowerCasingPropertyType
 
LowerCasingPropertyType(String, String, PropertyType.PropertyValueParser<T>, Set<String>) - Constructor for class org.ec4j.core.model.PropertyType.LowerCasingPropertyType
 

M

main(String[]) - Static method in class org.ec4j.core.cli.Cli
 
majorMinorMicro - Variable in class org.ec4j.core.model.Version
 
match(Ec4jPath) - Method in class org.ec4j.core.model.Glob
Matches the given slash (/) separated path against this Glob.
match(Ec4jPath) - Method in class org.ec4j.core.model.Section
 
matcher - Variable in class org.ec4j.core.ide.completion.CompletionEntry
 
matchingBraces(String) - Static method in class org.ec4j.core.model.Glob
 
matchLastSegmentOnly - Variable in class org.ec4j.core.model.Glob
 
max_line_length - Static variable in class org.ec4j.core.model.PropertyType
Note that off is a legal value of max_line_length - see https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#max_line_length
MAX_LINE_LENGTH_VALUE_PARSER - Static variable in interface org.ec4j.core.model.PropertyType.PropertyValueParser
message - Variable in class org.ec4j.core.parser.ErrorEvent
 
minPrefixLengthForTypes - Static variable in class org.ec4j.core.ide.completion.CompletionEntry
 

N

name - Variable in class org.ec4j.core.ide.completion.CompletionEntry
 
name - Variable in class org.ec4j.core.ide.TokenContext
 
name - Variable in class org.ec4j.core.model.Property.Builder
 
name - Variable in class org.ec4j.core.model.Property
 
name - Variable in class org.ec4j.core.model.PropertyType
 
name - Variable in enum org.ec4j.core.Resource.Bom
 
name(String) - Method in class org.ec4j.core.model.Property.Builder
name(ParseContext, String) - Method in class org.ec4j.core.parser.AbstractValidatingHandler
Handle the given property name.
name(ParseContext, String) - Method in class org.ec4j.core.parser.EditorConfigModelHandler
 
name(ParseContext, String) - Method in class org.ec4j.core.parser.ValidatingHandler
Handle the given property name.
NameSpan(Location, Location) - Constructor for class org.ec4j.core.parser.Span.NameSpan
 
newDecoder() - Method in class org.ec4j.core.Resource.Bom.BomCharset
newEncoder() - Method in class org.ec4j.core.Resource.Bom.BomCharset
nextSequences - Variable in class org.ec4j.core.ide.completion.LCSS.SequenceFinder
 
NioPath(Path) - Constructor for class org.ec4j.core.model.Ec4jPath.Ec4jPaths.NioPath
 
NO_CACHE - Static variable in class org.ec4j.core.Cache.Caches
Cache.Caches.NO_CACHE keeps no state, we can thus have a singleton
none() - Static method in class org.ec4j.core.Cache.Caches
Returns a new dummy Cache instance that does not cache at all.
normalizeIfNeeded(String) - Method in class org.ec4j.core.model.PropertyType.LowerCasingPropertyType
 
normalizeIfNeeded(String) - Method in class org.ec4j.core.model.PropertyType
Editor config tests require that some values need to be processed in various ways before being used.
normalizePropertyName(String) - Method in class org.ec4j.core.parser.AbstractValidatingHandler
Lower-cases the given property name.

O

of(String) - Static method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths
 
of(String) - Static method in class org.ec4j.core.model.Version
 
of(Path) - Static method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths
 
of(Version) - Static method in class org.ec4j.core.EditorConfigLoader
 
of(Version, PropertyTypeRegistry) - Static method in class org.ec4j.core.EditorConfigLoader
 
of(Version, PropertyTypeRegistry, ErrorHandler) - Static method in class org.ec4j.core.EditorConfigLoader
 
ofClassPath(ClassLoader, String, Charset) - Static method in class org.ec4j.core.Resource.Resources
Returns a new Resource.Resources.ClassPathResource associated with the given path and ClassLoader.
ofEndOfLineString(String) - Static method in enum org.ec4j.core.model.PropertyType.EndOfLineValue
 
offset - Variable in class org.ec4j.core.parser.Location
The absolute character index, starting at 0.
ofName(String) - Static method in enum org.ec4j.core.Resource.Bom
Returns a Resource.Bom having the given name.
ofPath(Path, Charset) - Static method in class org.ec4j.core.Resource.Resources
 
ofPath(Path, Charset) - Static method in class org.ec4j.core.ResourcePath.ResourcePaths
 
ofReader(Reader) - Static method in class org.ec4j.core.Resource.Resources.StringRandomReader
Reads the given Reader into a String and creates a new Resource.Resources.StringRandomReader out of it.
ofString(String) - Static method in class org.ec4j.core.Resource.Resources.StringRandomReader
 
ofString(String, String) - Static method in class org.ec4j.core.Resource.Resources
 
ofUrl(URL, Charset) - Static method in class org.ec4j.core.Resource.Resources.StringRandomReader
 
openCommentBlock() - Method in class org.ec4j.core.model.Comments.CommentBlocks.Builder
 
openCommentLine() - Method in class org.ec4j.core.model.Comments.CommentBlock.Builder
 
openProperty() - Method in class org.ec4j.core.model.Section.Builder
 
openRandomReader() - Method in interface org.ec4j.core.Resource
Opens a Resource.RandomReader to read the content of this Resource.
openRandomReader() - Method in class org.ec4j.core.Resource.Resources.ClassPathResource
Opens a Resource.RandomReader to read the content of this Resource.
openRandomReader() - Method in class org.ec4j.core.Resource.Resources.PathResource
Opens a Resource.RandomReader to read the content of this Resource.
openRandomReader() - Method in class org.ec4j.core.Resource.Resources.StringResource
Opens a Resource.RandomReader to read the content of this Resource.
openReader() - Method in interface org.ec4j.core.Resource
Opens a Reader to read the content of this Resource.
openReader() - Method in class org.ec4j.core.Resource.Resources.ClassPathResource
Opens a Reader to read the content of this Resource.
openReader() - Method in class org.ec4j.core.Resource.Resources.PathResource
Opens a Reader to read the content of this Resource.
openReader() - Method in class org.ec4j.core.Resource.Resources.StringResource
Opens a Reader to read the content of this Resource.
openSection() - Method in class org.ec4j.core.model.EditorConfig.Builder
 
org.ec4j.core - package org.ec4j.core
 
org.ec4j.core.cli - package org.ec4j.core.cli
 
org.ec4j.core.ide - package org.ec4j.core.ide
 
org.ec4j.core.ide.completion - package org.ec4j.core.ide.completion
 
org.ec4j.core.model - package org.ec4j.core.model
 
org.ec4j.core.parser - package org.ec4j.core.parser
 
OTHER - Enum constant in enum org.ec4j.core.parser.ErrorEvent.ErrorType
For third parties who may want to report an error not envisaged here

P

parentAware - Variable in class org.ec4j.core.model.EditorConfig.Builder
 
parentAware - Variable in class org.ec4j.core.model.Section.Builder
 
parentAware(boolean) - Method in class org.ec4j.core.model.EditorConfig.Builder
 
parentAware(boolean) - Method in class org.ec4j.core.model.Section.Builder
 
parentBuilder - Variable in class org.ec4j.core.model.Comments.CommentBlock.Builder
 
parentBuilder - Variable in class org.ec4j.core.model.Comments.CommentLine.Builder
 
parentBuilder - Variable in class org.ec4j.core.model.Property.Builder
 
parentBuilder - Variable in class org.ec4j.core.model.Section.Builder
 
parse(String) - Method in class org.ec4j.core.model.PropertyType
Parses the given parsed into a PropertyType.PropertyValue
parse(String) - Static method in class org.ec4j.core.parser.Location
Parses a Location from a String that has the format defined by Location.toString().
parse(String) - Static method in class org.ec4j.core.parser.Span.GlobSpan
 
parse(String) - Static method in class org.ec4j.core.parser.Span.NameSpan
 
parse(String) - Static method in class org.ec4j.core.parser.Span
Parses a Span from a String that has the format defined by Span.toString().
parse(String) - Static method in class org.ec4j.core.parser.Span.ValueSpan
 
parse(String, String) - Method in class org.ec4j.core.model.PropertyType.PropertyValueParser.EnumValueParser
 
parse(String, String) - Method in interface org.ec4j.core.model.PropertyType.PropertyValueParser
Parses the given parsed into a PropertyType.PropertyValue
parse(Resource, EditorConfigHandler, ErrorHandler) - Method in class org.ec4j.core.parser.EditorConfigParser
Reads the entire input from the resource and transforms it into a sequence of parse events which are sent to the given EditorConfigHandler.
ParseContext - Interface in org.ec4j.core.parser
The context of a parse notification sent by EditorConfigParser.
parsed - Variable in class org.ec4j.core.model.PropertyType.PropertyValue
 
ParseException - Exception Class in org.ec4j.core.parser
An unchecked exception to indicate that an input does not qualify as valid .editorconfig file.
ParseException(ErrorEvent) - Constructor for exception class org.ec4j.core.parser.ParseException
 
parser - Variable in class org.ec4j.core.EditorConfigLoader
 
parser - Variable in class org.ec4j.core.model.PropertyType
 
path - Variable in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.NioPath
 
path - Variable in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.StringPath
 
path - Variable in class org.ec4j.core.Resource.Resources.ClassPathResource
 
path - Variable in class org.ec4j.core.Resource.Resources.PathResource
 
path - Variable in class org.ec4j.core.Resource.Resources.StringResource
The list of path segments
path - Variable in class org.ec4j.core.ResourcePath.ResourcePaths.ClassPathResourcePath
 
path - Variable in class org.ec4j.core.ResourcePath.ResourcePaths.PathResourcePath
 
path - Variable in class org.ec4j.core.ResourcePath.ResourcePaths.StringResourcePath
 
PathResource(Path, Charset) - Constructor for class org.ec4j.core.Resource.Resources.PathResource
 
PathResourcePath(Path, Charset) - Constructor for class org.ec4j.core.ResourcePath.ResourcePaths.PathResourcePath
 
pCompletion - Variable in class org.ec4j.core.ide.completion.LCSS.SequenceFinder
 
PERIOD - Static variable in class org.ec4j.core.model.Version
 
permanent() - Static method in class org.ec4j.core.Cache.Caches
 
PermanentCache() - Constructor for class org.ec4j.core.Cache.Caches.PermanentCache
 
POSITIVE_INT_VALUE_PARSER - Static variable in interface org.ec4j.core.model.PropertyType.PropertyValueParser
A parser accepting positive integer numbers.
possibleValues - Variable in class org.ec4j.core.model.PropertyType
 
prefix - Variable in class org.ec4j.core.ide.completion.CompletionEntry
 
prefix - Variable in class org.ec4j.core.ide.TokenContext
 
preprocessPropertyName(String) - Static method in class org.ec4j.core.parser.EditorConfigParser
Return the lowercased property name.
properties - Variable in class org.ec4j.core.model.Section.Builder
 
properties - Variable in class org.ec4j.core.model.Section
 
properties - Variable in class org.ec4j.core.ResourceProperties.Builder
 
properties - Variable in class org.ec4j.core.ResourceProperties
 
properties(Collection<Property.Builder>) - Method in class org.ec4j.core.model.Section.Builder
properties(Collection<Property>) - Method in class org.ec4j.core.ResourceProperties.Builder
Adds multiple properties.
properties(Map<String, Property>) - Method in class org.ec4j.core.ResourceProperties.Builder
Adds multiple properties.
properties(Property...) - Method in class org.ec4j.core.ResourceProperties.Builder
Adds multiple properties.
properties(Property.Builder...) - Method in class org.ec4j.core.model.Section.Builder
property(Property) - Method in class org.ec4j.core.ResourceProperties.Builder
Adds a single property.
property(Property.Builder) - Method in class org.ec4j.core.model.Section.Builder
Property - Class in org.ec4j.core.model
A key value pair in a Section.
Property(List<Object>, PropertyType<?>, String, PropertyType.PropertyValue<?>) - Constructor for class org.ec4j.core.model.Property
Use the Property.Builder if you cannot access this constructor
PROPERTY_ASSIGNMENT_MISSING - Enum constant in enum org.ec4j.core.parser.ErrorEvent.ErrorType
 
PROPERTY_NAME - Enum constant in enum org.ec4j.core.ide.TokenContext.TokenContextType
 
PROPERTY_VALUE - Enum constant in enum org.ec4j.core.ide.TokenContext.TokenContextType
 
PROPERTY_VALUE_MISSING - Enum constant in enum org.ec4j.core.parser.ErrorEvent.ErrorType
 
Property.Builder - Class in org.ec4j.core.model
A Property builder.
propertyBuilder - Variable in class org.ec4j.core.parser.EditorConfigModelHandler
 
PropertyName - Enum constant in enum org.ec4j.core.parser.EditorConfigParser.StopReading
 
propertyNameSpan - Variable in class org.ec4j.core.parser.LocationAwareModelHandler
 
propertySpan - Variable in class org.ec4j.core.parser.LocationAwareModelHandler
 
propertyType - Variable in class org.ec4j.core.ide.completion.CompletionEntry
 
PropertyType<T> - Class in org.ec4j.core.model
A type of a Property.
PropertyType(String, String, PropertyType.PropertyValueParser<T>, String...) - Constructor for class org.ec4j.core.model.PropertyType
 
PropertyType(String, String, PropertyType.PropertyValueParser<T>, Set<String>) - Constructor for class org.ec4j.core.model.PropertyType
 
PropertyType.EndOfLineValue - Enum in org.ec4j.core.model
An enumeration of allowed end of line values.
PropertyType.IndentStyleValue - Enum in org.ec4j.core.model
An enumeration of allowed indentation style values.
PropertyType.LowerCasingPropertyType<T> - Class in org.ec4j.core.model
Because some values need to be lowercased, as required by "lowercase_values1" a "lowercase_values2" tests (v0.9.0 properties), this PropertyType subclass applies the lower-casing in PropertyType.LowerCasingPropertyType.normalizeIfNeeded(String).
PropertyType.PropertyValue<T> - Class in org.ec4j.core.model
The result of Property parsed parsing.
PropertyType.PropertyValueParser<T> - Interface in org.ec4j.core.model
A facility able to parse string values into other types.
PropertyType.PropertyValueParser.EnumValueParser<T> - Class in org.ec4j.core.model
A PropertyType.PropertyValueParser implementation that allows only members of a given Enum type.
PropertyTypeRegistry - Class in org.ec4j.core
A mapping from property names to PropertyTypes.
PropertyTypeRegistry(Map<String, PropertyType<?>>) - Constructor for class org.ec4j.core.PropertyTypeRegistry
Use the PropertyTypeRegistry.builder() to create new instances.
PropertyTypeRegistry.Builder - Class in org.ec4j.core
propertyValue(ParseContext, PropertyType.PropertyValue<?>) - Method in class org.ec4j.core.parser.AbstractValidatingHandler
Handle the given PropertyType.PropertyValue.
propertyValue(ParseContext, PropertyType.PropertyValue<?>) - Method in class org.ec4j.core.parser.EditorConfigModelHandler
 
propertyValue(ParseContext, PropertyType.PropertyValue<?>) - Method in class org.ec4j.core.parser.ValidatingHandler
Handle the given PropertyType.PropertyValue.
PropertyValue - Enum constant in enum org.ec4j.core.parser.EditorConfigParser.StopReading
 
PropertyValue(String, T, String) - Constructor for class org.ec4j.core.model.PropertyType.PropertyValue
 
propertyValueSpan - Variable in class org.ec4j.core.parser.LocationAwareModelHandler
 
propertyValueStart - Variable in class org.ec4j.core.parser.AbstractValidatingHandler
 
pToken - Variable in class org.ec4j.core.ide.completion.LCSS.SequenceFinder
 

Q

qualifier - Variable in class org.ec4j.core.model.Version
 
queryProperties(Resource) - Method in class org.ec4j.core.ResourcePropertiesService
Walks up the resource tree from the given Resource, visits all .editorconfig files and filters Propertys applicable to the given Resource.

R

R_CASE - Static variable in class org.ec4j.core.ide.completion.CompletionEntry
 
R_EXACT_NAME - Static variable in class org.ec4j.core.ide.completion.CompletionEntry
 
ranges - Variable in class org.ec4j.core.model.Glob
 
read() - Method in class org.ec4j.core.parser.EditorConfigParser
 
read(long) - Method in interface org.ec4j.core.Resource.RandomReader
 
read(long) - Method in class org.ec4j.core.Resource.Resources.StringRandomReader
readChar(char) - Method in class org.ec4j.core.parser.EditorConfigParser
 
readComment() - Method in class org.ec4j.core.parser.EditorConfigParser
 
reader - Variable in class org.ec4j.core.parser.EditorConfigParser
 
readGlob() - Method in class org.ec4j.core.parser.EditorConfigParser
 
readLine() - Method in class org.ec4j.core.parser.EditorConfigParser
 
readLines() - Method in class org.ec4j.core.parser.EditorConfigParser
 
readProperty() - Method in class org.ec4j.core.parser.EditorConfigParser
 
readSection() - Method in class org.ec4j.core.parser.EditorConfigParser
 
readString(EditorConfigParser.StopReading, boolean) - Method in class org.ec4j.core.parser.EditorConfigParser
 
regex - Variable in class org.ec4j.core.model.Glob
 
registry - Variable in class org.ec4j.core.ide.IdeSupportService
 
registry - Variable in class org.ec4j.core.parser.AbstractValidatingHandler
 
relativize(Ec4jPath) - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.NioPath
Constructs a relative path between this path and the given Ec4jPath.
relativize(Ec4jPath) - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.StringPath
Constructs a relative path between this path and the given Ec4jPath.
relativize(Ec4jPath) - Method in interface org.ec4j.core.model.Ec4jPath
Constructs a relative path between this path and the given Ec4jPath.
relativize(Resource) - Method in interface org.ec4j.core.ResourcePath
Constructs a Resource whose path is a relative path between this ResourcePath.getPath() and the given Resource.getPath().
relativize(Resource) - Method in class org.ec4j.core.ResourcePath.ResourcePaths.ClassPathResourcePath
Constructs a Resource whose path is a relative path between this ResourcePath.getPath() and the given Resource.getPath().
relativize(Resource) - Method in class org.ec4j.core.ResourcePath.ResourcePaths.PathResourcePath
Constructs a Resource whose path is a relative path between this ResourcePath.getPath() and the given Resource.getPath().
relativize(Resource) - Method in class org.ec4j.core.ResourcePath.ResourcePaths.StringResourcePath
Constructs a Resource whose path is a relative path between this ResourcePath.getPath() and the given Resource.getPath().
relevance - Variable in class org.ec4j.core.ide.completion.CompletionEntry
 
removeInitialSlash(Ec4jPath) - Static method in class org.ec4j.core.Resource.Resources.ClassPathResource
 
removeProperty(Property) - Method in class org.ec4j.core.ResourceProperties.Builder
resolve(String) - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.NioPath
Creates a new Ec4jPath by appending the given segment to this Ec4jPath.
resolve(String) - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.StringPath
Creates a new Ec4jPath by appending the given segment to this Ec4jPath.
resolve(String) - Method in interface org.ec4j.core.model.Ec4jPath
Creates a new Ec4jPath by appending the given segment to this Ec4jPath.
resolve(String) - Method in interface org.ec4j.core.ResourcePath
Resolves an immediate child of this ResourcePath.
resolve(String) - Method in class org.ec4j.core.ResourcePath.ResourcePaths.ClassPathResourcePath
Resolves an immediate child of this ResourcePath.
resolve(String) - Method in class org.ec4j.core.ResourcePath.ResourcePaths.PathResourcePath
Resolves an immediate child of this ResourcePath.
resolve(String) - Method in class org.ec4j.core.ResourcePath.ResourcePaths.StringResourcePath
Resolves an immediate child of this ResourcePath.
resource - Variable in class org.ec4j.core.parser.EditorConfigParser
 
resource - Variable in class org.ec4j.core.parser.ErrorEvent
 
resource(String, String) - Method in class org.ec4j.core.Resource.Resources.StringResourceTree.Builder
 
resource(String, URL, Charset) - Method in class org.ec4j.core.Resource.Resources.StringResourceTree.Builder
 
Resource - Interface in org.ec4j.core
A file in filesystem like Resource hierarchies.
Resource.Bom - Enum in org.ec4j.core
An enum of Byte Order Marks (BOMs) to be able to support encodings with BOM unsupported by Charset.forName(String).
Resource.Bom.BomCharset - Class in org.ec4j.core
A Charset delegating to obe
Resource.Charsets - Class in org.ec4j.core
Resource.RandomReader - Interface in org.ec4j.core
A readed allowing to access a character on any offset in the underlying resource.
Resource.Resources - Class in org.ec4j.core
A class that aggregates the Resource interface and a few common implementations of Resource.
Resource.Resources.ClassPathResource - Class in org.ec4j.core
A Resource implementation that loads resources from the current class path via the given ClassLoader.
Resource.Resources.PathResource - Class in org.ec4j.core
A Resource implementation based on java.nio.file.Path.
Resource.Resources.StringRandomReader - Class in org.ec4j.core
A Resource.RandomReader that reads from a String
Resource.Resources.StringResource - Class in org.ec4j.core
A Resource based on a String content.
Resource.Resources.StringResourceTree - Class in org.ec4j.core
A simple Map backed tree of Resource.Resources.StringResources.
Resource.Resources.StringResourceTree.Builder - Class in org.ec4j.core
 
ResourcePath - Interface in org.ec4j.core
A directory path in filesystem like Resource hierarchies.
ResourcePath.ResourcePaths - Class in org.ec4j.core
A class that aggregates the ResourcePath interface and a few common implementations of ResourcePath.
ResourcePath.ResourcePaths.ClassPathResourcePath - Class in org.ec4j.core
A ResourcePath implementation that loads resources from the current class path via the given ClassLoader.
ResourcePath.ResourcePaths.PathResourcePath - Class in org.ec4j.core
A ResourcePath implementation based on java.nio.file.Path.
ResourcePath.ResourcePaths.StringResourcePath - Class in org.ec4j.core
A path in a
invalid reference
Resources.StringResourceTree
.
ResourcePaths() - Constructor for class org.ec4j.core.ResourcePath.ResourcePaths
 
ResourceProperties - Class in org.ec4j.core
A collection of Propertys applicable to a Resource as returned by ResourcePropertiesService.queryProperties(Resource).
ResourceProperties(Map<String, Property>, List<Ec4jPath>) - Constructor for class org.ec4j.core.ResourceProperties
 
ResourceProperties.Builder - Class in org.ec4j.core
ResourcePropertiesService - Class in org.ec4j.core
A service able to query Propertys applicable to a given Resource.
ResourcePropertiesService(String, Set<ResourcePath>, List<EditorConfig>, Cache, EditorConfigLoader, boolean) - Constructor for class org.ec4j.core.ResourcePropertiesService
 
ResourcePropertiesService.Builder - Class in org.ec4j.core
 
ResourcePropertiesService.DirEditorConfigPair - Class in org.ec4j.core
A pair of EditorConfigLoader and ResourcePath of the directory under which the underlyinf .editorconfig file is located.
resources - Variable in class org.ec4j.core.Resource.Resources.StringResource
The tree this resource is bound to.
resources - Variable in class org.ec4j.core.Resource.Resources.StringResourceTree.Builder
 
resources - Variable in class org.ec4j.core.Resource.Resources.StringResourceTree
 
resources - Variable in class org.ec4j.core.ResourcePath.ResourcePaths.StringResourcePath
 
Resources() - Constructor for class org.ec4j.core.Resource.Resources
 
rewriteCompletion() - Method in class org.ec4j.core.ide.completion.LCSS.SequenceFinder
 
root - Variable in class org.ec4j.core.model.EditorConfig.Builder
 
root - Variable in class org.ec4j.core.model.EditorConfig
Citing from http://editorconfig.org/ : "A search for .editorconfig files will stop if the root filepath is reached or an EditorConfig file with root=true is found."
root - Static variable in class org.ec4j.core.model.PropertyType
 
root() - Static method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths
 
root(Boolean) - Method in class org.ec4j.core.model.EditorConfig.Builder
ROOT - Static variable in class org.ec4j.core.model.Ec4jPath.Ec4jPaths
 
rootDirectories - Variable in class org.ec4j.core.ResourcePropertiesService.Builder
 
rootDirectories - Variable in class org.ec4j.core.ResourcePropertiesService
 
rootDirectories(Collection<ResourcePath>) - Method in class org.ec4j.core.ResourcePropertiesService.Builder
Adds multiple root directories
rootDirectories(ResourcePath...) - Method in class org.ec4j.core.ResourcePropertiesService.Builder
Adds multiple root directories
rootDirectory(ResourcePath) - Method in class org.ec4j.core.ResourcePropertiesService.Builder
Adds a single root directory

S

scoreSubsequence(int[]) - Static method in class org.ec4j.core.ide.completion.LCSS
 
sealAdapters() - Method in class org.ec4j.core.model.Adaptable.DefaultAdaptable.Builder
Returns an immutable List of adapters and invalidates this Adaptable.DefaultAdaptable.Builder.
section(Section.Builder) - Method in class org.ec4j.core.model.EditorConfig.Builder
Section - Class in org.ec4j.core.model
A section in an .editorconfig file.
Section(List<Object>, Glob, Map<String, Property>) - Constructor for class org.ec4j.core.model.Section
Use the Section.Builder to create new instances.
SECTION - Enum constant in enum org.ec4j.core.ide.TokenContext.TokenContextType
 
Section.Builder - Class in org.ec4j.core.model
A Section builder.
sectionBuilder - Variable in class org.ec4j.core.parser.EditorConfigModelHandler
 
sections - Variable in class org.ec4j.core.model.EditorConfig.Builder
 
sections - Variable in class org.ec4j.core.model.EditorConfig
 
sections(Collection<Section.Builder>) - Method in class org.ec4j.core.model.EditorConfig.Builder
sections(Section.Builder...) - Method in class org.ec4j.core.model.EditorConfig.Builder
sectionSpan - Variable in class org.ec4j.core.parser.LocationAwareModelHandler
 
SequenceFinder(String, String) - Constructor for class org.ec4j.core.ide.completion.LCSS.SequenceFinder
 
serialVersionUID - Static variable in exception class org.ec4j.core.parser.ParseException
 
skipBom(byte[], Charset) - Static method in enum org.ec4j.core.Resource.Bom
If the given charset is a Resource.Bom.BomCharset, skips the BOM sequence in the given bytes array and returns a new String built out the remaining part of bytes; otherwise returns a new String built out the bytes.
skipBom(InputStream, Charset) - Static method in enum org.ec4j.core.Resource.Bom
If the given charset is a Resource.Bom.BomCharset, skips the BOM sequence in the given inputStream and returns the given inputStream; otherwise just returns the given inputStream.
skipWhiteSpace() - Method in class org.ec4j.core.parser.EditorConfigParser
 
source - Variable in class org.ec4j.core.model.Glob
 
source - Variable in class org.ec4j.core.model.PropertyType.PropertyValue
 
space - Enum constant in enum org.ec4j.core.model.PropertyType.IndentStyleValue
 
Span - Class in org.ec4j.core.parser
A pair of start and end Locations.
Span(Location, Location) - Constructor for class org.ec4j.core.parser.Span
 
Span.Builder - Class in org.ec4j.core.parser
A Span builder.
Span.GlobSpan - Class in org.ec4j.core.parser
A subclass of Span to be able to set a span for both glob and the whole secttion of a Section.
Span.NameSpan - Class in org.ec4j.core.parser
A subclass of Span to be able to set a span for both name and value of a Property.
Span.ValueSpan - Class in org.ec4j.core.parser
A subclass of Span to be able to set a span for both name and value of a Property.
STANDARD_TYPES - Static variable in class org.ec4j.core.model.PropertyType
 
standardTypes() - Static method in class org.ec4j.core.model.PropertyType
 
start - Variable in class org.ec4j.core.model.Comments.CommentBlock.Builder
 
start - Variable in class org.ec4j.core.parser.Span.Builder
 
start - Variable in class org.ec4j.core.parser.Span
 
start(Location) - Method in class org.ec4j.core.parser.Span.Builder
Sets the start of the Span.
START_WITH_MATCHER - Static variable in interface org.ec4j.core.ide.completion.CompletionEntryMatcher
 
startCapture() - Method in class org.ec4j.core.parser.EditorConfigParser
 
startComment(ParseContext) - Method in interface org.ec4j.core.parser.EditorConfigHandler
Start of a comment line
startComment(ParseContext) - Method in class org.ec4j.core.parser.EditorConfigModelHandler
Start of a comment line
startComment(ParseContext) - Method in class org.ec4j.core.parser.LocationAwareModelHandler
Start of a comment line
startComment(ParseContext) - Method in class org.ec4j.core.parser.ValidatingHandler
Start of a comment line
startDocument(ParseContext) - Method in interface org.ec4j.core.parser.EditorConfigHandler
Start of a document event
startDocument(ParseContext) - Method in class org.ec4j.core.parser.EditorConfigModelHandler
Start of a document event
startDocument(ParseContext) - Method in class org.ec4j.core.parser.LocationAwareModelHandler
Start of a document event
startDocument(ParseContext) - Method in class org.ec4j.core.parser.ValidatingHandler
Start of a document event
startGlob(ParseContext) - Method in class org.ec4j.core.parser.AbstractValidatingHandler
Start of a glob pattern
startGlob(ParseContext) - Method in interface org.ec4j.core.parser.EditorConfigHandler
Start of a glob pattern
startGlob(ParseContext) - Method in class org.ec4j.core.parser.LocationAwareModelHandler
Start of a glob pattern
startProperty(ParseContext) - Method in interface org.ec4j.core.parser.EditorConfigHandler
Start of a property
startProperty(ParseContext) - Method in class org.ec4j.core.parser.EditorConfigModelHandler
Start of a property
startProperty(ParseContext) - Method in class org.ec4j.core.parser.LocationAwareModelHandler
Start of a property
startProperty(ParseContext) - Method in class org.ec4j.core.parser.ValidatingHandler
Start of a property
startPropertyName(ParseContext) - Method in class org.ec4j.core.parser.AbstractValidatingHandler
Start of a property name
startPropertyName(ParseContext) - Method in interface org.ec4j.core.parser.EditorConfigHandler
Start of a property name
startPropertyName(ParseContext) - Method in class org.ec4j.core.parser.LocationAwareModelHandler
Start of a property name
startPropertyValue(ParseContext) - Method in class org.ec4j.core.parser.AbstractValidatingHandler
Start of a property value
startPropertyValue(ParseContext) - Method in interface org.ec4j.core.parser.EditorConfigHandler
Start of a property value
startPropertyValue(ParseContext) - Method in class org.ec4j.core.parser.LocationAwareModelHandler
Start of a property value
startSection(ParseContext) - Method in interface org.ec4j.core.parser.EditorConfigHandler
Start of a section
startSection(ParseContext) - Method in class org.ec4j.core.parser.EditorConfigModelHandler
Start of a section
startSection(ParseContext) - Method in class org.ec4j.core.parser.LocationAwareModelHandler
Start of a section
startSection(ParseContext) - Method in class org.ec4j.core.parser.ValidatingHandler
Start of a section
startsWithIgnoreCase(String, String) - Method in class org.ec4j.core.ide.completion.CompletionEntry
 
StopReading() - Constructor for enum org.ec4j.core.parser.EditorConfigParser.StopReading
 
StringPath(String) - Constructor for class org.ec4j.core.model.Ec4jPath.Ec4jPaths.StringPath
 
StringRandomReader(String) - Constructor for class org.ec4j.core.Resource.Resources.StringRandomReader
 
StringResource(Map<Ec4jPath, Resource>, Ec4jPath, String) - Constructor for class org.ec4j.core.Resource.Resources.StringResource
 
StringResourcePath(Ec4jPath, Map<Ec4jPath, Resource>) - Constructor for class org.ec4j.core.ResourcePath.ResourcePaths.StringResourcePath
 
StringResourceTree(Map<Ec4jPath, Resource>) - Constructor for class org.ec4j.core.Resource.Resources.StringResourceTree
 
stringResourceTreeBuilder() - Static method in class org.ec4j.core.Resource.Resources
 
SUBWORDS_RANGE_START - Static variable in class org.ec4j.core.ide.completion.CompletionEntry
 
syntaxError - Variable in enum org.ec4j.core.parser.ErrorEvent.ErrorType
 

T

tab - Enum constant in enum org.ec4j.core.model.PropertyType.IndentStyleValue
 
tab_width - Static variable in class org.ec4j.core.model.PropertyType
 
text - Variable in class org.ec4j.core.model.Comments.CommentLine.Builder
 
text - Variable in class org.ec4j.core.model.Comments.CommentLine
 
text(String) - Method in class org.ec4j.core.model.Comments.CommentLine.Builder
 
THROW_SYNTAX_ERRORS_IGNORE_OTHERS - Static variable in interface org.ec4j.core.parser.ErrorHandler
An ErrorHandler that throws a ParseException only for those ParseExceptions whose errorEvent.getErrorType().isSyntaxError() returns true
THROWING - Static variable in interface org.ec4j.core.parser.ErrorHandler
token - Variable in class org.ec4j.core.ide.completion.LCSS.SequenceFinder
 
TokenContext - Class in org.ec4j.core.ide
 
TokenContext(String, String, TokenContext.TokenContextType) - Constructor for class org.ec4j.core.ide.TokenContext
 
TokenContext.TokenContextType - Enum in org.ec4j.core.ide
 
TokenContextType() - Constructor for enum org.ec4j.core.ide.TokenContext.TokenContextType
 
toSet(String[]) - Static method in class org.ec4j.core.model.PropertyType
 
toString - Variable in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.NioPath
 
toString() - Method in class org.ec4j.core.model.Comments.CommentBlock
toString() - Method in class org.ec4j.core.model.Comments.CommentLine
toString() - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.NioPath
toString() - Method in class org.ec4j.core.model.Ec4jPath.Ec4jPaths.StringPath
toString() - Method in interface org.ec4j.core.model.Ec4jPath
 
toString() - Method in class org.ec4j.core.model.EditorConfig
 
toString() - Method in class org.ec4j.core.model.Glob
 
toString() - Method in class org.ec4j.core.model.Property
 
toString() - Method in class org.ec4j.core.model.PropertyType.PropertyValue
 
toString() - Method in class org.ec4j.core.model.PropertyType
toString() - Method in class org.ec4j.core.model.Section
 
toString() - Method in class org.ec4j.core.model.Version
 
toString() - Method in class org.ec4j.core.parser.Location
toString() - Method in class org.ec4j.core.parser.Span
toString() - Method in class org.ec4j.core.Resource.Resources.ClassPathResource
toString() - Method in class org.ec4j.core.Resource.Resources.PathResource
toString() - Method in class org.ec4j.core.Resource.Resources.StringResource
toString() - Method in class org.ec4j.core.ResourcePath.ResourcePaths.ClassPathResourcePath
toString() - Method in class org.ec4j.core.ResourcePath.ResourcePaths.PathResourcePath
 
toString() - Method in class org.ec4j.core.ResourcePath.ResourcePaths.StringResourcePath
touch(String) - Method in class org.ec4j.core.Resource.Resources.StringResourceTree.Builder
 
trim_trailing_whitespace - Static variable in class org.ec4j.core.model.PropertyType
 
type - Variable in class org.ec4j.core.ide.TokenContext
 
type - Variable in class org.ec4j.core.model.Property.Builder
 
type - Variable in class org.ec4j.core.model.Property
 
type - Variable in class org.ec4j.core.parser.AbstractValidatingHandler
 
type(PropertyType<?>) - Method in class org.ec4j.core.model.Property.Builder
Sets Property.Builder.type and also sets Property.Builder.name to type.getName.
type(PropertyType<?>) - Method in class org.ec4j.core.PropertyTypeRegistry.Builder
Adds a single PropertyType
type(ParseContext, PropertyType<?>) - Method in class org.ec4j.core.parser.AbstractValidatingHandler
Handle the given PropertyType associated with a property name that has been recently hit in the underlying .editorconfig file.
type(ParseContext, PropertyType<?>) - Method in class org.ec4j.core.parser.EditorConfigModelHandler
 
type(ParseContext, PropertyType<?>) - Method in class org.ec4j.core.parser.ValidatingHandler
Handle the given PropertyType associated with a property name that has been recently hit in the underlying .editorconfig file.
types - Variable in class org.ec4j.core.PropertyTypeRegistry.Builder
 
types - Variable in class org.ec4j.core.PropertyTypeRegistry
 

U

UNEXPECTED_END_OF_INPUT - Enum constant in enum org.ec4j.core.parser.ErrorEvent.ErrorType
 
unset - Static variable in class org.ec4j.core.model.PropertyType
 
UNSET - Static variable in class org.ec4j.core.model.PropertyType.PropertyValue
A singleton with the special unset source value
updatePrefix(String) - Method in class org.ec4j.core.ide.completion.CompletionEntry
 
UTF_8_BOM - Enum constant in enum org.ec4j.core.Resource.Bom
utf-8-bom

V

valid(String, T) - Static method in class org.ec4j.core.model.PropertyType.PropertyValue
 
ValidatingHandler - Class in org.ec4j.core.parser
An EditorConfigHandler that inherits from AbstractValidatingHandler and adds nothing new to it except that ValidatingHandler is not abstract.
ValidatingHandler(PropertyTypeRegistry) - Constructor for class org.ec4j.core.parser.ValidatingHandler
 
value - Variable in class org.ec4j.core.model.Property.Builder
 
value - Variable in class org.ec4j.core.model.Property
 
value(String) - Method in class org.ec4j.core.model.Property.Builder
value(PropertyType.PropertyValue<?>) - Method in class org.ec4j.core.model.Property.Builder
VALUE_SET - Static variable in enum org.ec4j.core.model.PropertyType.EndOfLineValue
 
VALUE_SET - Static variable in enum org.ec4j.core.model.PropertyType.IndentStyleValue
 
valueOf(String) - Static method in enum org.ec4j.core.ide.TokenContext.TokenContextType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ec4j.core.model.PropertyType.EndOfLineValue
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ec4j.core.model.PropertyType.IndentStyleValue
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ec4j.core.parser.EditorConfigParser.StopReading
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ec4j.core.parser.ErrorEvent.ErrorType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.ec4j.core.Resource.Bom
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.ec4j.core.ide.TokenContext.TokenContextType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ec4j.core.model.PropertyType.EndOfLineValue
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ec4j.core.model.PropertyType.IndentStyleValue
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ec4j.core.parser.EditorConfigParser.StopReading
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ec4j.core.parser.ErrorEvent.ErrorType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.ec4j.core.Resource.Bom
Returns an array containing the constants of this enum type, in the order they are declared.
valueSet() - Static method in enum org.ec4j.core.model.PropertyType.EndOfLineValue
 
valueSet() - Static method in enum org.ec4j.core.model.PropertyType.IndentStyleValue
 
ValueSpan(Location, Location) - Constructor for class org.ec4j.core.parser.Span.ValueSpan
 
version - Variable in class org.ec4j.core.model.EditorConfig.Builder
 
version - Variable in class org.ec4j.core.model.EditorConfig
 
version - Variable in class org.ec4j.core.parser.EditorConfigModelHandler
 
version(Version) - Method in class org.ec4j.core.model.EditorConfig.Builder
Version - Class in org.ec4j.core.model
A version that consists of major, minor, micro and qualifier.
Version(byte, byte, byte, String) - Constructor for class org.ec4j.core.model.Version
 
Version(int, String) - Constructor for class org.ec4j.core.model.Version
 

W

writeBom(OutputStream, Charset) - Static method in enum org.ec4j.core.Resource.Bom
If the given charset is a Resource.Bom.BomCharset, writes the BOM sequence into the given outpuStream and returns the given outpuStream; otherwise just returns the given outpuStream.

_

_0_10_0 - Static variable in class org.ec4j.core.model.Version
 
A B C D E F G H I J K L M N O P Q R S T U V W _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form