diff --git a/ComicReader/assets/classes.json b/ComicReader/assets/classes.json index 12c6ea4..9f08a69 100755 --- a/ComicReader/assets/classes.json +++ b/ComicReader/assets/classes.json @@ -27,6 +27,7 @@ {"class":"FeyWinds", "name":"Fey Winds", "pref":"feywindsPref"}, {"class":"FreeFall", "name":"Free Fall", "pref":"freefallPref"}, {"class":"GeekAndPoke", "name":"Geek And Poke", "pref":"geeknpokePref"}, + {"class":"GeneralProtectionFault", "name":"General protection fault", "pref":"gpfPref"}, {"class":"GirlGenius", "name":"Girl Genius", "pref":"girlgeniusPref"}, {"class":"GirlswithSlingshots", "name":"Girls with Slingshots", "pref":"girlswithslingshotsPref"}, {"class":"GuComics", "name":"Gu Comics", "pref":"gucomicsPref"}, diff --git a/ComicReader/src/com/blogspot/applications4android/comicreader/comics/GeneralProtectionFault.java b/ComicReader/src/com/blogspot/applications4android/comicreader/comics/GeneralProtectionFault.java new file mode 100644 index 0000000..28d9a75 --- /dev/null +++ b/ComicReader/src/com/blogspot/applications4android/comicreader/comics/GeneralProtectionFault.java @@ -0,0 +1,84 @@ +package com.blogspot.applications4android.comicreader.comics; + +import android.util.Log; +import com.blogspot.applications4android.comicreader.comictypes.YearlyArchivedComic; +import com.blogspot.applications4android.comicreader.core.Strip; +import java.io.BufferedReader; +import java.io.IOException; +import java.util.ArrayList; + +/** + * + * @author Osiris + */ +public class GeneralProtectionFault extends YearlyArchivedComic { + + @Override + protected ArrayList getAllComicUrls(BufferedReader reader, int year) throws IOException { + ArrayList m_com = new ArrayList(); + String str, str_temp; + int i, j; + while((str = reader.readLine()) != null) { + if (str.contains("