Skip to content

Commit

Permalink
docs: add annotation for RegexUtils#parseEpisodeSeqByFileName (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiveHao authored Jul 16, 2024
1 parent 4d3f03b commit 1be0bd7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions api/src/main/java/run/ikaros/api/infra/utils/RegexUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,13 @@ public static String getMatchingChineseStrWithoutTag(String str) {

/**
* Parse episode seq by file name.
* <ul>
* <li>getFileNameBlankEpSeq: xxxx 04 xxxx. mp4 => 04 .</li>
* <li>getFileNameTagEpSeq: xxxxxxx[02] xxxxxx. mp4 => 02 .</li>
* <li>getEpFileNameIntegrallySeq: xxxx EP04 xxxx. mp4 => 04 .</li>
* <li>getFileNameHorizontalEpSeq: xxxx-04-xxxx. mp4 => 04 .</li>
* <li>getFileNameUnderlineEpSeq: xxxx_04_xxxx. mp4 => 04 .</li>
* </ul>
*/
@Nonnull
public static Long parseEpisodeSeqByFileName(String fileName) {
Expand Down

0 comments on commit 1be0bd7

Please sign in to comment.