Home
last modified time | relevance | path

Searched refs:fileContents (Results 1 – 25 of 48) sorted by relevance

12

/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
59 setFileContents(fileContents); in RetrCommandHandler()
69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
70 setFileContents(fileContents); in RetrCommandHandler()
85 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
86 session.sendData(fileContents, fileContents.length); in processData()
96 public void setFileContents(String fileContents) { in setFileContents() argument
97 Assert.notNull(fileContents, "fileContents"); in setFileContents()
98 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
59 setFileContents(fileContents); in RetrCommandHandler()
69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
70 setFileContents(fileContents); in RetrCommandHandler()
85 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
86 session.sendData(fileContents, fileContents.length); in processData()
96 public void setFileContents(String fileContents) { in setFileContents() argument
97 Assert.notNull(fileContents, "fileContents"); in setFileContents()
98 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
59 setFileContents(fileContents); in RetrCommandHandler()
69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
70 setFileContents(fileContents); in RetrCommandHandler()
85 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
86 session.sendData(fileContents, fileContents.length); in processData()
96 public void setFileContents(String fileContents) { in setFileContents() argument
97 Assert.notNull(fileContents, "fileContents"); in setFileContents()
98 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
59 setFileContents(fileContents); in RetrCommandHandler()
69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
70 setFileContents(fileContents); in RetrCommandHandler()
85 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
86 session.sendData(fileContents, fileContents.length); in processData()
96 public void setFileContents(String fileContents) { in setFileContents() argument
97 Assert.notNull(fileContents, "fileContents"); in setFileContents()
98 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
59 setFileContents(fileContents); in RetrCommandHandler()
69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
70 setFileContents(fileContents); in RetrCommandHandler()
85 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
86 session.sendData(fileContents, fileContents.length); in processData()
96 public void setFileContents(String fileContents) { in setFileContents() argument
97 Assert.notNull(fileContents, "fileContents"); in setFileContents()
98 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
59 setFileContents(fileContents); in RetrCommandHandler()
69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
70 setFileContents(fileContents); in RetrCommandHandler()
85 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
86 session.sendData(fileContents, fileContents.length); in processData()
96 public void setFileContents(String fileContents) { in setFileContents() argument
97 Assert.notNull(fileContents, "fileContents"); in setFileContents()
98 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
59 setFileContents(fileContents); in RetrCommandHandler()
69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
70 setFileContents(fileContents); in RetrCommandHandler()
85 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
86 session.sendData(fileContents, fileContents.length); in processData()
96 public void setFileContents(String fileContents) { in setFileContents() argument
97 Assert.notNull(fileContents, "fileContents"); in setFileContents()
98 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
59 setFileContents(fileContents); in RetrCommandHandler()
69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
70 setFileContents(fileContents); in RetrCommandHandler()
85 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
86 session.sendData(fileContents, fileContents.length); in processData()
96 public void setFileContents(String fileContents) { in setFileContents() argument
97 Assert.notNull(fileContents, "fileContents"); in setFileContents()
98 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
59 setFileContents(fileContents); in RetrCommandHandler()
69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
70 setFileContents(fileContents); in RetrCommandHandler()
85 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
86 session.sendData(fileContents, fileContents.length); in processData()
96 public void setFileContents(String fileContents) { in setFileContents() argument
97 Assert.notNull(fileContents, "fileContents"); in setFileContents()
98 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
59 setFileContents(fileContents); in RetrCommandHandler()
69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
70 setFileContents(fileContents); in RetrCommandHandler()
85 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
86 session.sendData(fileContents, fileContents.length); in processData()
96 public void setFileContents(String fileContents) { in setFileContents() argument
97 Assert.notNull(fileContents, "fileContents"); in setFileContents()
98 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java43 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
58 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
59 setFileContents(fileContents); in RetrCommandHandler()
69 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
70 setFileContents(fileContents); in RetrCommandHandler()
85 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
86 session.sendData(fileContents, fileContents.length); in processData()
96 public void setFileContents(String fileContents) { in setFileContents() argument
97 Assert.notNull(fileContents, "fileContents"); in setFileContents()
98 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
60 setFileContents(fileContents); in RetrCommandHandler()
68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
69 setFileContents(fileContents); in RetrCommandHandler()
84 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
85 session.sendData(fileContents, fileContents.length); in processData()
93 public void setFileContents(String fileContents) { in setFileContents() argument
94 Assert.notNull(fileContents, "fileContents"); in setFileContents()
95 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/1.2.2/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
60 setFileContents(fileContents); in RetrCommandHandler()
68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
69 setFileContents(fileContents); in RetrCommandHandler()
84 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
85 session.sendData(fileContents, fileContents.length); in processData()
93 public void setFileContents(String fileContents) { in setFileContents() argument
94 Assert.notNull(fileContents, "fileContents"); in setFileContents()
95 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java45 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
60 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
61 setFileContents(fileContents); in RetrCommandHandler()
71 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
72 setFileContents(fileContents); in RetrCommandHandler()
87 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
88 session.sendData(fileContents, fileContents.length); in processData()
98 public void setFileContents(String fileContents) { in setFileContents() argument
99 Assert.notNull(fileContents, "fileContents"); in setFileContents()
100 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/1.2.4/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
60 setFileContents(fileContents); in RetrCommandHandler()
68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
69 setFileContents(fileContents); in RetrCommandHandler()
84 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
85 session.sendData(fileContents, fileContents.length); in processData()
93 public void setFileContents(String fileContents) { in setFileContents() argument
94 Assert.notNull(fileContents, "fileContents"); in setFileContents()
95 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/1.2/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
60 setFileContents(fileContents); in RetrCommandHandler()
68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
69 setFileContents(fileContents); in RetrCommandHandler()
84 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
85 session.sendData(fileContents, fileContents.length); in processData()
93 public void setFileContents(String fileContents) { in setFileContents() argument
94 Assert.notNull(fileContents, "fileContents"); in setFileContents()
95 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
60 setFileContents(fileContents); in RetrCommandHandler()
68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
69 setFileContents(fileContents); in RetrCommandHandler()
84 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
85 session.sendData(fileContents, fileContents.length); in processData()
93 public void setFileContents(String fileContents) { in setFileContents() argument
94 Assert.notNull(fileContents, "fileContents"); in setFileContents()
95 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/1.2.1/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
60 setFileContents(fileContents); in RetrCommandHandler()
68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
69 setFileContents(fileContents); in RetrCommandHandler()
84 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
85 session.sendData(fileContents, fileContents.length); in processData()
93 public void setFileContents(String fileContents) { in setFileContents() argument
94 Assert.notNull(fileContents, "fileContents"); in setFileContents()
95 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/1.2.3/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
60 setFileContents(fileContents); in RetrCommandHandler()
68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
69 setFileContents(fileContents); in RetrCommandHandler()
84 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
85 session.sendData(fileContents, fileContents.length); in processData()
93 public void setFileContents(String fileContents) { in setFileContents() argument
94 Assert.notNull(fileContents, "fileContents"); in setFileContents()
95 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
60 setFileContents(fileContents); in RetrCommandHandler()
68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
69 setFileContents(fileContents); in RetrCommandHandler()
84 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
85 session.sendData(fileContents, fileContents.length); in processData()
93 public void setFileContents(String fileContents) { in setFileContents() argument
94 Assert.notNull(fileContents, "fileContents"); in setFileContents()
95 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/java/org/mockftpserver/stub/command/
DRetrCommandHandler.java46 private byte[] fileContents = new byte[0]; field in RetrCommandHandler
59 public RetrCommandHandler(String fileContents) { in RetrCommandHandler() argument
60 setFileContents(fileContents); in RetrCommandHandler()
68 public RetrCommandHandler(byte[] fileContents) { in RetrCommandHandler() argument
69 setFileContents(fileContents); in RetrCommandHandler()
84 LOG.info("Sending " + fileContents.length + " bytes"); in processData()
85 session.sendData(fileContents, fileContents.length); in processData()
93 public void setFileContents(String fileContents) { in setFileContents() argument
94 Assert.notNull(fileContents, "fileContents"); in setFileContents()
95 setFileContents(fileContents.getBytes()); in setFileContents()
[all …]
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DBreakIteratorPerformanceTest.java14 String fileContents; field in BreakIteratorPerformanceTest
42 fileContents = new String(readToEOS(reader)); in setup()
95 iter.setText(fileContents); in init()
101 tokenList.add(fileContents.substring(start, end)); in init()
109 iter.setText(fileContents); in init()
115 tokenList.add(fileContents.substring(start, end)); in init()
129 if (!correct[k++].equals(fileContents.substring(start, end))) in createTestICU()
138 return fileContents.length(); in createTestICU()
149 if (!correct[k++].equals(fileContents.substring(start, end)))
158 return fileContents.length();
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAssetManagerTest.java74 String fileContents; in assetsInputStreams() local
79 fileContents = Strings.fromStream(inputStream); in assetsInputStreams()
80 assertEquals("assetsHome!", fileContents); in assetsInputStreams()
84 fileContents = Strings.fromStream(inputStream); in assetsInputStreams()
85 assertEquals("hello!", fileContents); in assetsInputStreams()
DContextTest.java157 String fileContents = "blah"; in openFileInput_shouldReturnAFileInputStream() local
161 fileWriter.write(fileContents); in openFileInput_shouldReturnAFileInputStream()
168 byte[] bytes = new byte[fileContents.length()]; in openFileInput_shouldReturnAFileInputStream()
170 assertThat(bytes, equalTo(fileContents.getBytes())); in openFileInput_shouldReturnAFileInputStream()
191 String fileContents = "blah"; in openFileOutput_shouldReturnAFileOutputStream() local
195 fileOutputStream.write(fileContents.getBytes()); in openFileOutput_shouldReturnAFileOutputStream()
203 byte[] readBuffer = new byte[fileContents.length()]; in openFileOutput_shouldReturnAFileOutputStream()
205 assertThat(new String(readBuffer), equalTo(fileContents)); in openFileOutput_shouldReturnAFileOutputStream()
/external/libphonenumber/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java61 String fileContents = null; in doPost() local
85 fileContents = IOUtils.toString(in); in doPost()
96 if (fileContents.length() == 0) { in doPost()
111 output = getOutputForFile(defaultCountry, fileContents); in doPost()
118 private StringBuilder getOutputForFile(String defaultCountry, String fileContents) { in getOutputForFile() argument
129 StringTokenizer tokenizer = new StringTokenizer(fileContents, ","); in getOutputForFile()

12