- Notifications
You must be signed in to change notification settings - Fork5
EditorConfig Core Java Binding
License
editorconfig/editorconfig-core-java-binding
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This directory is forEditorConfig Core Java Binding. This binding is aJava binding forEditorConfig Python Core, made possible byJython.
NOTE: This java binding has been obsoleted. Please useEditorConfig Java Core instead.
EditorConfig makes it easy to maintain the correct coding style when switchingbetween different text editors and between different projects. TheEditorConfig project maintains a file format and plugins for various texteditors which allow this file format to be read and used by those editors. Forinformation on the file format and supported text editors, see theEditorConfig website.
First be sure that the submodule is initialized:
cd /path/to/editorconfig-core-java-bindinggit submodule initgit submodule update
WithAnt:
ant && ant doc
The built jar file is in thebuild
directory and the documentation is in thedoc
directory.
A basic example:
EditorConfigec =newEditorConfig();List<EditorConfig.OutPair>l =null;try {l =ec.getProperties("/home/user/src/editorconfig-core-py/a.py");}catch(EditorConfigExceptione) {System.out.println(e);System.exit(1);}for(inti =0;i <l.size(); ++i) {System.out.println(l.get(i).getKey() +"=" +l.get(i).getVal());}
A more complex example is in theexample
directory. There is anonline documentation for API details, or you could runant doc
togenerate html documentation. The generated documentation will locate indoc
directory.
All source files of the Java binding are distributed under the PSF license. SeeLICENSE.txt for details.
Copyright (C) 2012-2013, EditorConfig Team
About
EditorConfig Core Java Binding
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors2
Uh oh!
There was an error while loading.Please reload this page.