OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fileOrdirectory
(Results
1 - 2
of
2
) sorted by null
/external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/
AppNanolets.java
126
protected BufferedInputStream fileToInputStream(File
fileOrdirectory
) throws IOException {
127
if (
fileOrdirectory
.getName().equals("exception.html")) {
130
return super.fileToInputStream(
fileOrdirectory
);
/external/nanohttpd/nanolets/src/main/java/fi/iki/elonen/router/
RouterNanoHTTPD.java
219
File
fileOrdirectory
= uriResource.initParameter(File.class);
221
fileOrdirectory
= new File(
fileOrdirectory
, pathPart);
223
if (
fileOrdirectory
.isDirectory()) {
224
fileOrdirectory
= new File(
fileOrdirectory
, "index.html");
225
if (!
fileOrdirectory
.exists()) {
226
fileOrdirectory
= new File(
fileOrdirectory
.getParentFile(), "index.htm");
229
if (!
fileOrdirectory
.exists() || !fileOrdirectory.isFile())
[
all
...]
Completed in 1285 milliseconds