Skip to content

Commit 21f218b

Browse files
committed
only line separators differences
1 parent c809e9c commit 21f218b

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed
Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
package com.github.dnbn.submerge.api.parser;
22

3-
import java.io.File;
4-
import java.io.InputStream;
5-
63
import com.github.dnbn.submerge.api.parser.exception.InvalidFileException;
74
import com.github.dnbn.submerge.api.parser.exception.InvalidSubException;
85
import com.github.dnbn.submerge.api.subtitle.common.TimedTextFile;
96

7+
import java.io.File;
8+
import java.io.InputStream;
9+
1010
public interface SubtitleParser {
1111

12-
/**
13-
* Parse a subtitle file and return the corresponding subtitle object
14-
*
15-
* @param file the subtitle file
16-
* @return the subtitle object
17-
* @throws InvalidSubException if the subtitle is not valid
18-
* @throws InvalidFileException if the file is not valid
19-
*/
20-
TimedTextFile parse(File file);
12+
/**
13+
* Parse a subtitle file and return the corresponding subtitle object
14+
*
15+
* @param file the subtitle file
16+
* @return the subtitle object
17+
* @throws InvalidSubException if the subtitle is not valid
18+
* @throws InvalidFileException if the file is not valid
19+
*/
20+
TimedTextFile parse(File file, String encodingCharSet);
2121

22-
/**
23-
* Parse a subtitle file from an inputstream and return the corresponding subtitle
24-
* object
25-
*
26-
* @param is the input stream
27-
* @param fileName the fileName
28-
* @return the subtitle object
29-
* @throws InvalidSubException if the subtitle is not valid
30-
* @throws InvalidFileException if the file is not valid
31-
*/
32-
TimedTextFile parse(InputStream is, String fileName);
22+
/**
23+
* Parse a subtitle file from an inputstream and return the corresponding subtitle
24+
* object
25+
*
26+
* @param is the input stream
27+
* @param fileName the fileName
28+
* @return the subtitle object
29+
* @throws InvalidSubException if the subtitle is not valid
30+
* @throws InvalidFileException if the file is not valid
31+
*/
32+
TimedTextFile parse(InputStream is, String fileName, String encodingCharSet);
3333
}

0 commit comments

Comments
 (0)