@Action public void commentInputDidChange(final NSNotification sender) { bookmark.setComment(commentField.textStorage().string()); this.update(); }
break; case "comment": current.setComment(value); break; case "access_key":
break; case "notes": current.setComment(value); break; case "user":
protected void add(final String fullname, final String hostname, final int port, final String user, final String password, final String path) { final Protocol protocol = this.getProtocol(fullname); if(null == protocol) { log.warn(String.format("Unknown service type for %s", fullname)); return; } final Host host = new Host(protocol, hostname, port); host.getCredentials().setUsername(user); host.getCredentials().setPassword(password); if(StringUtils.isNotBlank(path)) { host.setDefaultPath(PathNormalizer.normalize(path)); } host.setComment(UserDateFormatterFactory.get().getLongFormat(new Date().getTime())); this.add(fullname, host); }
break; case "comment": current.setComment(value); break; case "uid":
current.getCredentials().setUsername(attrs.getValue("un")); current.setWebURL(attrs.getValue("wURL")); current.setComment(attrs.getValue("comm")); current.setDefaultPath(attrs.getValue("path")); String protocol = attrs.getValue("ftpPType");
bookmark.setComment(comment.toString()); if(log.isDebugEnabled()) { log.debug(String.format("Create new bookmark from import %s", bookmark));
current.setComment(elementText); break; case "LocalDir":
break; case "notes": current.setComment(value); break; case "account":
current.setComment(elementText); break; case "Path":
bookmark.setComment(commentObj.toString());