Searched refs:fileName (Results 1 – 6 of 6) sorted by relevance
37 public static byte[] readFile(String fileName) { in readFile() argument38 File file = new File(fileName); in readFile()92 public static boolean hasArchiveSuffix(String fileName) { in hasArchiveSuffix() argument93 return fileName.endsWith(".zip") in hasArchiveSuffix()94 || fileName.endsWith(".jar") in hasArchiveSuffix()95 || fileName.endsWith(".apk"); in hasArchiveSuffix()
58 for (String fileName : mInputFileNames) { in run()61 Output.generateFirstHeader(fileName, mOutputFormat); in run()63 Output.generateHeader(fileName, mOutputFormat); in run()65 List<RandomAccessFile> rafs = openInputFiles(fileName); in run()95 List<RandomAccessFile> openInputFiles(String fileName) throws IOException { in openInputFiles() argument96 List<RandomAccessFile> rafs = openInputFileAsZip(fileName); in openInputFiles()99 File inputFile = new File(fileName); in openInputFiles()117 List<RandomAccessFile> openInputFileAsZip(String fileName) throws IOException { in openInputFileAsZip() argument123 zipFile = new ZipFile(fileName); in openInputFileAsZip()126 System.err.println("Unable to open '" + fileName + "': " + in openInputFileAsZip()
33 private static void generateHeader0(String fileName, String format) { in generateHeader0() argument35 if (fileName != null) { in generateHeader0()36 out.println("File: " + fileName); in generateHeader0()39 if (fileName != null) { in generateHeader0()40 out.println(IN0 + "<external file=\"" + fileName + "\">"); in generateHeader0()50 public static void generateFirstHeader(String fileName, String format) { in generateFirstHeader() argument51 generateHeader0(fileName, format); in generateFirstHeader()54 public static void generateHeader(String fileName, String format) { in generateHeader() argument56 generateHeader0(fileName, format); in generateHeader()
41 public static byte[] readFile(String fileName) { in readFile() argument42 File file = new File(fileName); in readFile()
152 for (String fileName : fileNames) { in printList()153 System.out.println(fileName); in printList()
432 …private static void readPathsFromFile(String fileName, Collection<String> paths) throws IOExceptio… in readPathsFromFile() argument435 FileReader fr = new FileReader(fileName); in readPathsFromFile()895 private boolean createJar(String fileName) { in createJar() argument904 OutputStream out = openOutput(fileName); in createJar()