Home
last modified time | relevance | path

Searched refs:fromPath (Results 1 – 25 of 120) sorted by relevance

12345

/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/command/
DRnfrCommandHandler.java40 String fromPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local
43 … verifyFileSystemCondition(getFileSystem().exists(fromPath), fromPath, "filesystem.doesNotExist"); in handle() local
44 … verifyFileSystemCondition(getFileSystem().isFile(fromPath), fromPath, "filesystem.isNotAFile"); in handle() local
47 verifyReadPermission(session, fromPath); in handle()
49 session.setAttribute(SessionKeys.RENAME_FROM, fromPath); in handle()
DRntoCommandHandler.java44 String fromPath = (String) getRequiredSessionAttribute(session, SessionKeys.RENAME_FROM); in handle() local
54 getFileSystem().rename(fromPath, toPath); in handle()
57 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/command/
DRnfrCommandHandler.java41 String fromPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local
44 … verifyFileSystemCondition(getFileSystem().exists(fromPath), fromPath, "filesystem.doesNotExist"); in handle() local
45 … verifyFileSystemCondition(getFileSystem().isFile(fromPath), fromPath, "filesystem.isNotAFile"); in handle() local
48 verifyReadPermission(session, fromPath); in handle()
50 session.setAttribute(SessionKeys.RENAME_FROM, fromPath); in handle()
DRntoCommandHandler.java44 String fromPath = (String) getRequiredSessionAttribute(session, SessionKeys.RENAME_FROM); in handle() local
55 getFileSystem().rename(fromPath, toPath); in handle()
58 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/command/
DRnfrCommandHandler.java41 String fromPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local
44 … verifyFileSystemCondition(getFileSystem().exists(fromPath), fromPath, "filesystem.doesNotExist"); in handle() local
45 … verifyFileSystemCondition(getFileSystem().isFile(fromPath), fromPath, "filesystem.isNotAFile"); in handle() local
48 verifyReadPermission(session, fromPath); in handle()
50 session.setAttribute(SessionKeys.RENAME_FROM, fromPath); in handle()
DRntoCommandHandler.java44 String fromPath = (String) getRequiredSessionAttribute(session, SessionKeys.RENAME_FROM); in handle() local
55 getFileSystem().rename(fromPath, toPath); in handle()
58 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
DRnfrCommandHandler.java41 String fromPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local
44 … verifyFileSystemCondition(getFileSystem().exists(fromPath), fromPath, "filesystem.doesNotExist"); in handle() local
45 … verifyFileSystemCondition(getFileSystem().isFile(fromPath), fromPath, "filesystem.isNotAFile"); in handle() local
48 verifyReadPermission(session, fromPath); in handle()
50 session.setAttribute(SessionKeys.RENAME_FROM, fromPath); in handle()
DRntoCommandHandler.java44 String fromPath = (String) getRequiredSessionAttribute(session, SessionKeys.RENAME_FROM); in handle() local
54 getFileSystem().rename(fromPath, toPath); in handle()
57 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/command/
DRnfrCommandHandler.java41 String fromPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local
44 … verifyFileSystemCondition(getFileSystem().exists(fromPath), fromPath, "filesystem.doesNotExist"); in handle() local
45 … verifyFileSystemCondition(getFileSystem().isFile(fromPath), fromPath, "filesystem.isNotAFile"); in handle() local
48 verifyReadPermission(session, fromPath); in handle()
50 session.setAttribute(SessionKeys.RENAME_FROM, fromPath); in handle()
DRntoCommandHandler.java44 String fromPath = (String) getRequiredSessionAttribute(session, SessionKeys.RENAME_FROM); in handle() local
54 getFileSystem().rename(fromPath, toPath); in handle()
57 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/command/
DRnfrCommandHandler.java41 String fromPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local
44 … verifyFileSystemCondition(getFileSystem().exists(fromPath), fromPath, "filesystem.doesNotExist"); in handle() local
45 … verifyFileSystemCondition(getFileSystem().isFile(fromPath), fromPath, "filesystem.isNotAFile"); in handle() local
48 verifyReadPermission(session, fromPath); in handle()
50 session.setAttribute(SessionKeys.RENAME_FROM, fromPath); in handle()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
DRnfrCommandHandler.java41 String fromPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local
44 … verifyFileSystemCondition(getFileSystem().exists(fromPath), fromPath, "filesystem.doesNotExist"); in handle() local
45 … verifyFileSystemCondition(getFileSystem().isFile(fromPath), fromPath, "filesystem.isNotAFile"); in handle() local
48 verifyReadPermission(session, fromPath); in handle()
50 session.setAttribute(SessionKeys.RENAME_FROM, fromPath); in handle()
DRntoCommandHandler.java44 String fromPath = (String) getRequiredSessionAttribute(session, SessionKeys.RENAME_FROM); in handle() local
54 getFileSystem().rename(fromPath, toPath); in handle()
57 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/command/
DRnfrCommandHandler.java41 String fromPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local
44 … verifyFileSystemCondition(getFileSystem().exists(fromPath), fromPath, "filesystem.doesNotExist"); in handle() local
47 verifyReadPermission(session, fromPath); in handle()
49 session.setAttribute(SessionKeys.RENAME_FROM, fromPath); in handle()
DRntoCommandHandler.java44 String fromPath = (String) getRequiredSessionAttribute(session, SessionKeys.RENAME_FROM); in handle() local
55 getFileSystem().rename(fromPath, toPath); in handle()
58 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/command/
DRnfrCommandHandler.java41 String fromPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local
44 … verifyFileSystemCondition(getFileSystem().exists(fromPath), fromPath, "filesystem.doesNotExist"); in handle() local
47 verifyReadPermission(session, fromPath); in handle()
49 session.setAttribute(SessionKeys.RENAME_FROM, fromPath); in handle()
DRntoCommandHandler.java44 String fromPath = (String) getRequiredSessionAttribute(session, SessionKeys.RENAME_FROM); in handle() local
55 getFileSystem().rename(fromPath, toPath); in handle()
58 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/command/
DRnfrCommandHandler.java41 String fromPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local
44 … verifyFileSystemCondition(getFileSystem().exists(fromPath), fromPath, "filesystem.doesNotExist"); in handle() local
47 verifyReadPermission(session, fromPath); in handle()
49 session.setAttribute(SessionKeys.RENAME_FROM, fromPath); in handle()
DRntoCommandHandler.java44 String fromPath = (String) getRequiredSessionAttribute(session, SessionKeys.RENAME_FROM); in handle() local
55 getFileSystem().rename(fromPath, toPath); in handle()
58 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/command/
DRnfrCommandHandler.java41 String fromPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local
44 … verifyFileSystemCondition(getFileSystem().exists(fromPath), fromPath, "filesystem.doesNotExist"); in handle() local
47 verifyReadPermission(session, fromPath); in handle()
49 session.setAttribute(SessionKeys.RENAME_FROM, fromPath); in handle()
DRntoCommandHandler.java44 String fromPath = (String) getRequiredSessionAttribute(session, SessionKeys.RENAME_FROM); in handle() local
55 getFileSystem().rename(fromPath, toPath); in handle()
58 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
DRnfrCommandHandler.java41 String fromPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local
44 … verifyFileSystemCondition(getFileSystem().exists(fromPath), fromPath, "filesystem.doesNotExist"); in handle() local
47 verifyReadPermission(session, fromPath); in handle()
49 session.setAttribute(SessionKeys.RENAME_FROM, fromPath); in handle()
DRntoCommandHandler.java44 String fromPath = (String) getRequiredSessionAttribute(session, SessionKeys.RENAME_FROM); in handle() local
55 getFileSystem().rename(fromPath, toPath); in handle()
58 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/command/
DRnfrCommandHandler.groovy42 def fromPath = getRealPath(session, getRequiredParameter(command))
44 verifyForExistingFile(fileSystem.exists(fromPath), fromPath)
45 verifyForExistingFile(fileSystem.isFile(fromPath), fromPath)
47 session.setAttribute(SessionKeys.RENAME_FROM, fromPath)
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestPathHeader.java89 PathHeader ph1 = pathHeaderFactory.fromPath(path1); in tempTestAnnotation()
92 PathHeader ph2 = pathHeaderFactory.fromPath(path2); in tempTestAnnotation()
95 PathHeader ph3 = pathHeaderFactory.fromPath(path2); in tempTestAnnotation()
185 ph = pathHeaderFactory2.fromPath(p); in TestCompleteness()
188 ph = pathHeaderFactory2.fromPath(p); in TestCompleteness()
237 PathHeader ph1 = pathHeaderFactory.fromPath(p1); in Test6170()
238 PathHeader ph2 = pathHeaderFactory.fromPath(p2); in Test6170()
246 … .fromPath("//ldml/localeDisplayNames/languages/language[@type=\"ug\"][@alt=\"variant\"]"); in TestVariant()
248 .fromPath("//ldml/localeDisplayNames/languages/language[@type=\"ug\"]"); in TestVariant()
256 PathHeader ph = pathHeaderFactory.fromPath(test); in Test4587()
[all …]

12345