Skip to content

Commit

Permalink
Encode with UTF-8 by default + refactors
Browse files Browse the repository at this point in the history
  • Loading branch information
Carleslc committed Jul 4, 2020
1 parent b0b92b4 commit 322a1a6
Show file tree
Hide file tree
Showing 126 changed files with 1,313 additions and 1,238 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Furthermore, you can optionally save your files with **comments** in mind. With

## How to install

To use this API all you need is to download the **Simple-YAML-1.6.jar** from this repository
To use this API all you need is to download the **Simple-YAML-1.6.1.jar** from this repository
and put it as dependency on your project.

### Maven
Expand All @@ -48,7 +48,7 @@ If you are using Maven you do not need to download the jar. Instead, add this re
<dependency>
<groupId>com.github.Carleslc</groupId>
<artifactId>Simple-YAML</artifactId>
<version>1.6</version>
<version>1.6.1</version>
</dependency>
</dependencies>
```
Expand All @@ -69,7 +69,7 @@ For more information and methods see the Javadoc [here](https://carleslc.me/Simp

## Dependences

This API uses _SnakeYAML_, which is already included in **Simple-YAML-1.6.jar**, so you don't have to worry about anything more than putting up the jar as dependency on your project.
This API uses _SnakeYAML_, which is already included in **Simple-YAML-1.6.1.jar**, so you don't have to worry about anything more than putting up the jar as dependency on your project.

* [SnakeYAML](https://bitbucket.org/asomov/snakeyaml)

Expand Down
Binary file renamed Simple-YAML-1.6.jar → Simple-YAML-1.6.1.jar
Binary file not shown.
6 changes: 3 additions & 3 deletions doc/allclasses-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (12.0.1) on Sat Jul 04 08:51:55 CEST 2020 -->
<title>All Classes (Simple-YAML 1.6 API)</title>
<!-- Generated by javadoc (12.0.1) on Sat Jul 04 15:19:43 CEST 2020 -->
<title>All Classes (Simple-YAML 1.6.1 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-07-04">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand All @@ -22,7 +22,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="All Classes (Simple-YAML 1.6 API)";
parent.document.title="All Classes (Simple-YAML 1.6.1 API)";
}
}
catch(err) {
Expand Down
6 changes: 3 additions & 3 deletions doc/allpackages-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (12.0.1) on Sat Jul 04 08:51:55 CEST 2020 -->
<title>All Packages (Simple-YAML 1.6 API)</title>
<!-- Generated by javadoc (12.0.1) on Sat Jul 04 15:19:43 CEST 2020 -->
<title>All Packages (Simple-YAML 1.6.1 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-07-04">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand All @@ -22,7 +22,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="All Packages (Simple-YAML 1.6 API)";
parent.document.title="All Packages (Simple-YAML 1.6.1 API)";
}
}
catch(err) {
Expand Down
36 changes: 26 additions & 10 deletions doc/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (12.0.1) on Sat Jul 04 08:51:55 CEST 2020 -->
<title>Constant Field Values (Simple-YAML 1.6 API)</title>
<!-- Generated by javadoc (12.0.1) on Sat Jul 04 15:19:43 CEST 2020 -->
<title>Constant Field Values (Simple-YAML 1.6.1 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-07-04">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand All @@ -22,7 +22,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant Field Values (Simple-YAML 1.6 API)";
parent.document.title="Constant Field Values (Simple-YAML 1.6.1 API)";
}
}
catch(err) {
Expand Down Expand Up @@ -95,6 +95,29 @@ <h2 title="org.simpleyaml">org.simpleyaml.*</h2>
<li class="blockList">
<div class="constantsSummary">
<table>
<caption><span>org.simpleyaml.configuration.comments.<a href="org/simpleyaml/configuration/comments/Commentable.html" title="interface in org.simpleyaml.configuration.comments">Commentable</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Constant Field</th>
<th class="colLast" scope="col">Value</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a id="org.simpleyaml.configuration.comments.Commentable.COMMENT_PREFIX">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;java.lang.String</code></td>
<th class="colSecond" scope="row"><code><a href="org/simpleyaml/configuration/comments/Commentable.html#COMMENT_PREFIX">COMMENT_PREFIX</a></code></th>
<td class="colLast"><code>"# "</code></td>
</tr>
</tbody>
</table>
</div>
</li>
</ul>
<ul class="blockList">
<li class="blockList">
<div class="constantsSummary">
<table>
<caption><span>org.simpleyaml.configuration.file.<a href="org/simpleyaml/configuration/file/YamlConfiguration.html" title="class in org.simpleyaml.configuration.file">YamlConfiguration</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
Expand All @@ -109,13 +132,6 @@ <h2 title="org.simpleyaml">org.simpleyaml.*</h2>
<th class="colSecond" scope="row"><code><a href="org/simpleyaml/configuration/file/YamlConfiguration.html#BLANK_CONFIG">BLANK_CONFIG</a></code></th>
<td class="colLast"><code>"{}\n"</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a id="org.simpleyaml.configuration.file.YamlConfiguration.COMMENT_PREFIX">
<!-- -->
</a><code>protected&nbsp;static&nbsp;final&nbsp;java.lang.String</code></td>
<th class="colSecond" scope="row"><code><a href="org/simpleyaml/configuration/file/YamlConfiguration.html#COMMENT_PREFIX">COMMENT_PREFIX</a></code></th>
<td class="colLast"><code>"# "</code></td>
</tr>
</tbody>
</table>
</div>
Expand Down
77 changes: 3 additions & 74 deletions doc/deprecated-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (12.0.1) on Sat Jul 04 08:51:55 CEST 2020 -->
<title>Deprecated List (Simple-YAML 1.6 API)</title>
<!-- Generated by javadoc (12.0.1) on Sat Jul 04 15:19:43 CEST 2020 -->
<title>Deprecated List (Simple-YAML 1.6.1 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-07-04">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand All @@ -22,7 +22,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Deprecated List (Simple-YAML 1.6 API)";
parent.document.title="Deprecated List (Simple-YAML 1.6.1 API)";
}
}
catch(err) {
Expand Down Expand Up @@ -80,77 +80,6 @@
<div class="header">
<h1 title="Deprecated API" class="title">Deprecated API</h1>
<h2 title="Contents">Contents</h2>
<ul>
<li><a href="#field">Fields</a></li>
<li><a href="#method">Methods</a></li>
</ul>
</div>
<div class="contentContainer"><a id="field">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<div class="deprecatedSummary">
<table>
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="org/simpleyaml/configuration/file/FileConfiguration.html#SYSTEM_UTF">org.simpleyaml.configuration.file.FileConfiguration.SYSTEM_UTF</a></th>
<td class="colLast">
<div class="deprecationComment">temporary compatibility measure</div>
</td>
</tr>
<tr class="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="org/simpleyaml/configuration/file/FileConfiguration.html#UTF_BIG">org.simpleyaml.configuration.file.FileConfiguration.UTF_BIG</a></th>
<td class="colLast">
<div class="deprecationComment">temporary compatibility measure</div>
</td>
</tr>
<tr class="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="org/simpleyaml/configuration/file/FileConfiguration.html#UTF8_OVERRIDE">org.simpleyaml.configuration.file.FileConfiguration.UTF8_OVERRIDE</a></th>
<td class="colLast">
<div class="deprecationComment">temporary compatibility measure</div>
</td>
</tr>
</tbody>
</table>
</div>
</li>
</ul>
<a id="method">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<div class="deprecatedSummary">
<table>
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colDeprecatedItemName" scope="row"><a href="org/simpleyaml/configuration/file/FileConfiguration.html#load(java.io.InputStream)">org.simpleyaml.configuration.file.FileConfiguration.load&#8203;(InputStream)</a></th>
<td class="colLast">
<div class="deprecationComment">This does not consider encoding</div>
</td>
</tr>
<tr class="rowColor">
<th class="colDeprecatedItemName" scope="row"><a href="org/simpleyaml/configuration/file/YamlConfiguration.html#loadConfiguration(java.io.InputStream)">org.simpleyaml.configuration.file.YamlConfiguration.loadConfiguration&#8203;(InputStream)</a></th>
<td class="colLast">
<div class="deprecationComment">does not properly consider encoding</div>
</td>
</tr>
</tbody>
</table>
</div>
</li>
</ul>
</div>
</main>
<footer role="contentinfo">
Expand Down
6 changes: 3 additions & 3 deletions doc/help-doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (12.0.1) on Sat Jul 04 08:51:55 CEST 2020 -->
<title>API Help (Simple-YAML 1.6 API)</title>
<!-- Generated by javadoc (12.0.1) on Sat Jul 04 15:19:43 CEST 2020 -->
<title>API Help (Simple-YAML 1.6.1 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-07-04">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand All @@ -22,7 +22,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="API Help (Simple-YAML 1.6 API)";
parent.document.title="API Help (Simple-YAML 1.6.1 API)";
}
}
catch(err) {
Expand Down
Loading

0 comments on commit 322a1a6

Please sign in to comment.