Commit Test
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
package com.stardust.pio;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.IOException;
|
||||
import java.io.RandomAccessFile;
|
||||
|
||||
/**
|
||||
* Created by Stardust on 2017/4/29.
|
||||
*/
|
||||
|
||||
public class PRandomAccessBinaryFile extends RandomAccessFile {
|
||||
|
||||
|
||||
private RandomAccessFile mRandomAccessFile;
|
||||
|
||||
public PRandomAccessBinaryFile(String name, String mode) throws FileNotFoundException {
|
||||
super(name, mode);
|
||||
}
|
||||
|
||||
public PRandomAccessBinaryFile(File file, String mode) throws FileNotFoundException {
|
||||
super(file, mode);
|
||||
}
|
||||
|
||||
public String readline() throws IOException {
|
||||
return super.readLine();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -16,7 +16,7 @@ public class DeveloperUtils {
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isRunningPackageSelf(@Nullable String runningPackage) {
|
||||
public static boolean isSelfPackage(@Nullable String runningPackage) {
|
||||
return PACKAGE_NAME.equals(runningPackage);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user