X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=datamodel%2Fcompbio%2Fdata%2Fsequence%2FSequenceUtil.java;h=ddd12229c14a95e6465e1b314cf104d6eb272593;hb=6582e82919b0d3697fe5e96f1be6a369f90a2d93;hp=935ce7469f983ec1809e00b982dc24fe4c940f6e;hpb=81078aca485c1c507b6b2e497050a08e5f4635cb;p=jabaws.git diff --git a/datamodel/compbio/data/sequence/SequenceUtil.java b/datamodel/compbio/data/sequence/SequenceUtil.java index 935ce74..ddd1222 100644 --- a/datamodel/compbio/data/sequence/SequenceUtil.java +++ b/datamodel/compbio/data/sequence/SequenceUtil.java @@ -303,13 +303,23 @@ public final class SequenceUtil { } /** - * Reader for JRonn horizontal file format >Foobar M G D T T A G 0.48 0.42 - * 0.42 0.48 0.52 0.53 0.54 All values are tab delimited + * Reader for JRonn horizontal file format + * + *
+	 * >Foobar M G D T T A G 0.48 0.42
+	 * 0.42 0.48 0.52 0.53 0.54
+	 * 
+	 * 
+	 * Where all values are tab delimited
 	 * 
 	 * @param inStream
-	 * @return
+	 *            the InputStream connected to the JRonn output file
+	 * @return List of {@link AnnotatedSequence} objects
 	 * @throws IOException
+	 *             is thrown if the inStream has problems accessing the data
 	 * @throws UnknownFileFormatException
+	 *             is thrown if the inStream represents an unknown source of
+	 * data, i.e. not a JRonn output
 	 */
 	public static List readJRonn(final InputStream inStream)
 			throws IOException, UnknownFileFormatException {
@@ -403,7 +413,7 @@ public final class SequenceUtil {
 	 * @throws IOException
 	 * @throws UnknownFileFormatException
 	 */
-	public static List> readDisembl(
+	static List> readDisembl(
 			final InputStream input) throws IOException,
 			UnknownFileFormatException {
 		Scanner scan = new Scanner(input);