Merge pull request #50 from coffeemakr/master

Automatically deploy Javadocs
This commit is contained in:
Christian Schabesberger 2017-11-30 15:38:14 +01:00 committed by GitHub
commit 1cb025e483
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 7 deletions

View File

@ -1 +1,13 @@
language: java
script:
- ./gradlew check
- ./gradlew javadoc
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
local_dir: build/docs
on:
branch: master

View File

@ -10,7 +10,7 @@ public abstract class Info implements Serializable {
public final int service_id;
/**
* Id of this Info object <br>
* e.g. Youtube: https://www.youtube.com/watch?v=RER5qCTzZ7 > RER5qCTzZ7
* e.g. Youtube: https://www.youtube.com/watch?v=RER5qCTzZ7 &gt; RER5qCTzZ7
*/
public final String id;
public final String url;

View File

@ -63,7 +63,8 @@ public class SoundcloudParsingHelper {
}
/**
* Call the endpoint "/resolve" of the api.<br/>
* Call the endpoint "/resolve" of the api.<p>
*
* See https://developers.soundcloud.com/docs/api/reference#resolve
*/
public static JsonObject resolveFor(String url) throws IOException, ReCaptchaException, ParsingException {
@ -79,7 +80,7 @@ public class SoundcloudParsingHelper {
}
/**
* Fetch the embed player with the apiUrl and return the canonical url (like the permalink_url from the json api).<br/>
* Fetch the embed player with the apiUrl and return the canonical url (like the permalink_url from the json api).
*
* @return the url resolved
*/
@ -92,7 +93,7 @@ public class SoundcloudParsingHelper {
}
/**
* Fetch the embed player with the url and return the id (like the id from the json api).<br/>
* Fetch the embed player with the url and return the id (like the id from the json api).
*
* @return the id resolved
*/

View File

@ -12,9 +12,9 @@ public class Utils {
/**
* Remove all non-digit characters from a string.<p>
* Examples:<br/>
* <ul><li>1 234 567 views -> 1234567</li>
* <li>$31,133.124 -> 31133124</li></ul>
* Examples:<p>
* <ul><li>1 234 567 views -&gt; 1234567</li>
* <li>$31,133.124 -&gt; 31133124</li></ul>
*
* @param toRemove string to remove non-digit chars
* @return a string that contains only digits