差分発生行の前後
無視リスト:
更新日時:
2010/05/11 20:15:55 (2 年 前)
更新者:
h
ログメッセージ:

refs #2 #8 #9 #7 #6
現状のソースをコミット。一部完了。一部未完了。
関連づいてない完了チケットのチェンジセットもまとめて。
パッケージ階層も大幅に変更。

パス:
trunk/src/org/rayflood/mikuvat/io/vsq
ファイル:
1 追加
1 移動

凡例:

変更なし
追加
削除
  • trunk/src/org/rayflood/mikuvat/io/vsq/EOSEvent.java

    r2 r4  
    1 package org.rayflood.mikuvat.io; 
     1package org.rayflood.mikuvat.io.vsq; 
    22 
    33import java.io.File; 
     4import java.io.FileNotFoundException; 
     5import java.io.IOException; 
    46import java.util.List; 
    57import java.util.Map; 
     8 
     9import org.rayflood.mikuvat.io.BaseObject; 
    610 
    711public class EOSEvent extends Event{ 
     
    2024        } 
    2125 
    22         public boolean isReadied(){ 
     26        public boolean validate(){ 
    2327                return true; 
    2428        } 
    2529 
    26         public int compareTo(ImmutableObject obj){ 
     30        public int compareTo(BaseObject obj){ 
    2731                if(!(obj instanceof EOSEvent)){ 
    2832                        throw new ClassCastException(); 
     
    3135        } 
    3236 
    33         public EOSEvent over(Object obj, boolean fill, boolean has){ 
     37        public EOSEvent over(BaseObject obj, boolean fill, boolean has){ 
    3438                if(!(obj instanceof EOSEvent)){ 
    3539                        throw new ClassCastException(); 
     
    5458        } 
    5559 
    56         public static EOSEvent load(String file) throws Exception{ 
    57                 return (EOSEvent)ImmutableObject.load(file); 
     60        public static EOSEvent load(String file) throws FileNotFoundException, IOException, ClassNotFoundException{ 
     61                return (EOSEvent)BaseObject.load(file); 
    5862        } 
    5963 
    60         public static EOSEvent load(File file) throws Exception{ 
    61                 return (EOSEvent)ImmutableObject.load(file); 
     64        public static EOSEvent load(File file) throws FileNotFoundException, IOException, ClassNotFoundException{ 
     65                return (EOSEvent)BaseObject.load(file); 
    6266        } 
    6367 
    64         public void store(String file) throws Exception{ 
     68        public void store(String file) throws FileNotFoundException, IOException{ 
    6569                super.store(file); 
    6670        } 
    6771 
    68         public void store(File file) throws Exception{ 
     72        public void store(File file) throws FileNotFoundException, IOException{ 
    6973                super.store(file); 
    7074        } 
    7175 
    72         public static EOSEvent unzip(String file) throws Exception{ 
    73                 return (EOSEvent)ImmutableObject.unzip(file); 
     76        public static EOSEvent unzip(String file) throws IOException, ClassNotFoundException{ 
     77                return (EOSEvent)BaseObject.unzip(file); 
    7478        } 
    7579 
    76         public static EOSEvent unzip(File file) throws Exception{ 
    77                 return (EOSEvent)ImmutableObject.unzip(file); 
     80        public static EOSEvent unzip(File file) throws IOException, ClassNotFoundException{ 
     81                return (EOSEvent)BaseObject.unzip(file); 
    7882        } 
    7983 
    80         public void zip(String file) throws Exception{ 
     84        public void zip(String file) throws IOException{ 
    8185                super.zip(file); 
    8286        } 
    8387 
    84         public void zip(File file) throws Exception{ 
     88        public void zip(File file) throws IOException{ 
    8589                super.zip(file); 
    8690        }