Home | History | Annotate | Download | only in ftp

Lines Matching defs:fact

267      * Adds a 'fact', as defined in RFC 3659, to the list of facts of this file.
271 * @param fact the name of the fact (e.g. "Media-Type"). It is not case-sensitive.
272 * @param value the value associated with this fact.
275 public FtpDirEntry addFact(String fact, String value) {
276 facts.put(fact.toLowerCase(), value);
281 * Returns the requested 'fact', as defined in RFC 3659, if available.
283 * @param fact The name of the fact *e.g. "Media-Type"). It is not case sensitive.
284 * @return The value of the fact or, {@code null} if that fact wasn't
287 public String getFact(String fact) {
288 return facts.get(fact.toLowerCase());