@Test public void withBackslash() { FileNamePattern pp = new FileNamePattern("c:\\foo\\bar.%i", context); assertEquals("c:/foo/bar.3", pp.convertInt(3)); }
public String convertInt(int i) { return convert(i); }
FileNamePattern extends ContextAwareBase { public String convertInt(int i) { return convert(i); } }
FileNamePattern extends ContextAwareBase { public String convertInt(int i) { return convert(i); } FileNamePattern(String patternArg, Context contextArg); }
FileNamePattern extends ContextAwareBase { public String convertInt(int i) { return convert(i); } FileNamePattern(String patternArg, Context contextArg); String toString(); @Override int hashCode(); @Override boolean equals(Object obj); DateTokenConverter<Object> getPrimaryDateTokenConverter(); IntegerTokenConverter getIntegerTokenConverter(); boolean hasIntegerTokenCOnverter(); String convertMultipleArguments(Object... objectList); String convert(Object o); String convertInt(int i); void setPattern(String pattern); String getPattern(); String toRegexForFixedDate(Date date); String toRegex(); }
FileNamePattern extends ContextAwareBase { public String convertInt(int i) { return convert(i); } FileNamePattern(String patternArg, Context contextArg); String toString(); @Override int hashCode(); @Override boolean equals(Object obj); DateTokenConverter<Object> getPrimaryDateTokenConverter(); IntegerTokenConverter getIntegerTokenConverter(); boolean hasIntegerTokenCOnverter(); String convertMultipleArguments(Object... objectList); String convert(Object o); String convertInt(int i); void setPattern(String pattern); String getPattern(); String toRegexForFixedDate(Date date); String toRegex();  }