pax_global_header00006660000000000000000000000064126621007070014513gustar00rootroot0000000000000052 comment=778022de9ae5f993b96eeb5db4625d71352800c7 jiconfont-1.0.0/000077500000000000000000000000001266210070700135025ustar00rootroot00000000000000jiconfont-1.0.0/.gitignore000066400000000000000000000002671266210070700154770ustar00rootroot00000000000000target/ pom.xml.tag pom.xml.releaseBackup pom.xml.versionsBackup pom.xml.next release.properties dependency-reduced-pom.xml buildNumber.properties .mvn/timing.properties *.iml .idea/ jiconfont-1.0.0/LICENSE000066400000000000000000000020641266210070700145110ustar00rootroot00000000000000The MIT License (MIT) Copyright (c) 2016 jIconFont Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. jiconfont-1.0.0/README.md000066400000000000000000000005651266210070700147670ustar00rootroot00000000000000## jIconFont jIconFont is a API to provide icons generated from any IconFont. These icons can be used in Java GUI toolkits, such as Swing and JavaFX. Visit [http://jiconfont.github.io/](http://jiconfont.github.io/) ## LICENSE jIconFont is distributed under the terms of the [MIT license](http://opensource.org/licenses/mit-license.html). See LICENSE file for details. jiconfont-1.0.0/pom.xml000066400000000000000000000075771266210070700150370ustar00rootroot00000000000000 4.0.0 UTF-8 com.github.jiconfont jiconfont 1.0.0 jar jIconFont jIconFont is a API to provide icons generated from any IconFont. These icons can be used in Java GUI toolkits, such as Swing and JavaFX. https://github.com/jIconFont/jiconfont The MIT License (MIT) http://opensource.org/licenses/mit-license.html repo scm:git:git@github.com:jIconFont/jiconfont.git scm:git:git@github.com:jIconFont/jiconfont.git scm:git:git@github.com:jIconFont/jiconfont.git HEAD caduandrade Cadu Andrade cadu@caduandrade.net sonatype-nexus-staging Sonatype Repository https://oss.sonatype.org/service/local/staging/deploy/maven2 sonatype-nexus-snapshots Sonatype Repository https://oss.sonatype.org/content/repositories/snapshots org.apache.maven.plugins maven-compiler-plugin 3.1 1.7 1.7 org.apache.maven.plugins maven-source-plugin 2.4 attach-sources jar org.apache.maven.plugins maven-javadoc-plugin 2.10.1 attach-javadocs jar org.apache.maven.plugins maven-gpg-plugin 1.5 sign-artifacts package sign jiconfont-1.0.0/src/000077500000000000000000000000001266210070700142715ustar00rootroot00000000000000jiconfont-1.0.0/src/main/000077500000000000000000000000001266210070700152155ustar00rootroot00000000000000jiconfont-1.0.0/src/main/java/000077500000000000000000000000001266210070700161365ustar00rootroot00000000000000jiconfont-1.0.0/src/main/java/jiconfont/000077500000000000000000000000001266210070700201275ustar00rootroot00000000000000jiconfont-1.0.0/src/main/java/jiconfont/DefaultIconCode.java000066400000000000000000000035651266210070700237730ustar00rootroot00000000000000package jiconfont; /** * Copyright (c) 2016 jIconFont
*
* Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ public class DefaultIconCode implements IconCode { private final char unicode; private final String fontFamily; /** * Construtor. * * @param fontFamily the font family. * @param unicode the icon code. */ public DefaultIconCode(String fontFamily, char unicode) { this.fontFamily = fontFamily; this.unicode = unicode; } /** * {@inheritDoc} */ @Override public String name() { return "[" + getUnicode() + "]"; } /** * {@inheritDoc} */ @Override public char getUnicode() { return unicode; } /** * {@inheritDoc} */ @Override public String getFontFamily() { return fontFamily; } } jiconfont-1.0.0/src/main/java/jiconfont/IconCode.java000066400000000000000000000027231266210070700224610ustar00rootroot00000000000000package jiconfont; /** * Copyright (c) 2016 jIconFont
*
* Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ public interface IconCode { /** * Gets the icon name. * * @return String */ String name(); /** * Gets the icon unicode. * * @return char */ char getUnicode(); /** * Gets the font family name. * * @return String */ String getFontFamily(); } jiconfont-1.0.0/src/main/java/jiconfont/IconFont.java000066400000000000000000000026551266210070700225210ustar00rootroot00000000000000package jiconfont; import java.io.InputStream; /** * Copyright (c) 2016 jIconFont
*
* Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ public interface IconFont { /** * Gets the font family name. * * @return String */ String getFontFamily(); /** * Gets a stream to the font. * * @return InputStream */ InputStream getFontInputStream(); }