Edit C:\Users\Admin\.m2\repository\org\dspace\jargon\1.4.25\Test.class
???? .Y ? ? ? ? ? ? ? ? ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ! ? ! ? ? ? ? ? ? ? ? ? , ? ? , ? , ? , ? ? 2 ? 2 ? ! ? ? ! ? 2 ? ? 2 ? 2 ? ? ? ? ? ? ? ? ? ? ? ? ? [ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? [ ? ? ? ? ? ? ` ? ` ? ` ? ? e ? ? ? h ? h ? ? ? ? ? ? ? ? ? ? ? s ? ? , ? s s s ? s e , ? SRB_TEST_DIR Ljava/lang/String; ConstantValue SRB_TEST_FILE LOCAL_TEST_FILE <init> ()V Code LineNumberTable main ([Ljava/lang/String;)V SourceFile Test.java ? ? Connect to the SRB. -copy -fullTest edu/sdsc/grid/io/srb/SRBAccount ? ? "edu/sdsc/grid/io/srb/SRBFileSystem ? C Make a new container in your SRB called mySRBJargonTestContainer. !edu/sdsc/grid/io/srb/SRBContainer mySRBJargonTestContainer ? B Make a new collection in your SRB home called mySRBJargonTestDir edu/sdsc/grid/io/srb/SRBFile mySRBJargonTestDir H Put an example local file in the new collection as mySRBJargonTestFile edu/sdsc/grid/io/local/LocalFile myInitialJargonFile ,edu/sdsc/grid/io/local/LocalRandomAccessFile rw ? java/lang/String =This file is used to test the Jargon API. It is ok to delete. !"# ? mySRBJargonTestFile ?$%&'() java/lang/StringBuffer * Random access read and write to the file*+*, (edu/sdsc/grid/io/srb/SRBRandomAccessFile-. ?/ It is ok to delete.012 |The copies created on the SRB should get deleted automatically. The local version was not deleted, so you know if it worked. * List the contents of the new collection:34 ) List the contents of the new container: Replicate 5)6 8 Add read/write permissions to the file for "testuser". testuser sdsc789:;< Copy to another anothermySRBJargonTestFile ?=>& Rename to new newmySRBJargonTestFile?@ e Get mySRBJargonTestDir from the SRB and put it in the current local directory as myLocalJargonFile myLocalJargonFile / Execute the 'hello' proxy command on the SRB. helloABC-DEF 2 Link a HTML page to act as if it were a SRBFile. Run the MetaDataTest MetaDataTest ?& Run the CopyTest 5017_files CopyTest CopymySRBJargonTestDir ?GH ?I java/lang/ThrowableJ ? Run the full test MoreTestsK ? 8 Remove the files created by this program from the SRB. ) Remove mySRBJargonTestDir from the SRB.L)M) / Remove mySRBJargonTestContainer from the SRB. Exit. !edu/sdsc/grid/io/srb/SRBException Handling an error.ND $Standardized SRB Server Error Type: *OP) 'Standardized SRB Server Error Message: Jargon Error Message: Q)RS asdf ' Socket Exception test, srbFile.length=TU*VWX Test java/lang/Object java/lang/System out Ljava/io/PrintStream; java/io/PrintStream println (Ljava/lang/String;)V equals (Ljava/lang/Object;)Z java/lang/Integer parseInt (Ljava/lang/String;)I p(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V $(Ledu/sdsc/grid/io/srb/SRBAccount;)V 9(Ledu/sdsc/grid/io/srb/SRBFileSystem;Ljava/lang/String;)V createNewFile ()Z mkdir exists 7(Ledu/sdsc/grid/io/local/LocalFile;Ljava/lang/String;)V getBytes ()[B write ([B)V close 3(Ledu/sdsc/grid/io/srb/SRBFile;Ljava/lang/String;)V copyFrom !(Ledu/sdsc/grid/io/GeneralFile;)V delete toString ()Ljava/lang/String; append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; read ([B)I ([BII)V indexOf seek (J)V list ()[Ljava/lang/String; getResource replicate changePermissions 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V getPermissions )(Z)[Ledu/sdsc/grid/io/MetaDataRecordList; printQueryResults )([Ledu/sdsc/grid/io/MetaDataRecordList;)V K(Ledu/sdsc/grid/io/srb/SRBFileSystem;Ljava/lang/String;Ljava/lang/String;)V copyTo renameTo !(Ledu/sdsc/grid/io/GeneralFile;)Z executeProxyCommand ;(Ljava/lang/String;Ljava/lang/String;)Ljava/io/InputStream; java/io/InputStream ()I print (C)V ?(Ledu/sdsc/grid/io/GeneralFile;Ledu/sdsc/grid/io/GeneralFile;)V copy compare printStackTrace run getHomeDirectory getPathSeparator getType (I)Ljava/lang/StringBuffer; getStandardMessage getMessage getCause ()Ljava/lang/Throwable; length ()J (J)Ljava/lang/StringBuffer; exit (I)V ! ? ? ? ? ? ? ? ? ' ? ? ? S ? ? ? *? ? ? ? ? ? ? LLMN:::666 ? ? *?? "*2? ? 6*2? ? 66 *?? '? Y*2*2? *2*2*2*2*2? L? =*?? ? ? Y*2? L? $*?? ? ? Y*2? L? ? Y? L? Y+? M? ? ? Y,? :? W? ? ? Y,? :? W? ? ? Y? N-? ? %? Y-? : ? !Y"? #? $? % ? &? Y'? (:-? )-? *W? ? +? ? ? ,Y? -.? /? 0? 1? ? 2Y? 3:?: ? 46? !Y ? 5:6? 76 ? ?? 8? !Y9? #? $? :? ;? <? ? =:? 6? ? 2? ????? >? ? ?:? 6? ? 2? ????? ? ,Y? -@? /? 0? 1? ? A? B? C? :D:E:? F? G? H? ? ,Y? -I? /? 0J? /'? /? 1? ? Y,K? L? M? ? ,Y? -N? /? 0O? /'? /? 1? ? Y,P? L? QW? R? ? Y,? :? YS? N-? M? T? ,U? V:? W6? ? ?? X? W6??? Y? ? Z? ? [Y? Y,K? L? \W? ]? ? ?? Y-^? _N? `Y-? Y,a? L? b:? c? dW? :? f6? ? g? ? ? hY? i:? j? k? ? Y,P? L:? lW? Y,K? L:? lW? m? ? ,Y? -,? n? /? o? /? /? 1:? Y,? :? lW? p? ? qW? r? M? ?: ? t? ? u6? ? ,Y? -v? /? w? 1? ? x:? ? ,Y? -y? /? /? 1? ? ? ,Y? -z? / ? {? /? 1? ? | ? }: ? ? f ? ~: ???6? +:? f? ~:? ? f? ~:???6? ? 0,? ,? Y,? :? ? ,Y? -?? /? ?? ?? 1? ? +: ? f ? ~:? ? f? ~:???6? ? ?? y? e .1 s .? e? e ? b ? ? ? ? ? ? ? ? ? ? ? ? &