- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {StringBuilder s =
new StringBuilder()
new StringBuilder(32)
String str;new StringBuilder(str)
- Smart code suggestions by Codota
}
public static String getCanonicalPath(String generatePath, String fileName, SkeletonProperties skeletonProperties) { return formatGeneratePath(generatePath) + getCanonicalFileName(fileName, skeletonProperties); }
public String getCanonicalFileName(String fileName, SkeletonProperties skeletonProperties) { if (StringUtils.isEmpty(fileName)) { throw new SkeletonException("File name is null or empty"); } try { String canonicalFileName = SkeletonUtil.getCanonicalFileName(fileName, skeletonProperties); return URLEncoder.encode(canonicalFileName + ".zip", SkeletonConstant.ENCODING_UTF_8); } catch (UnsupportedEncodingException e) { throw new SkeletonException(e.getMessage(), e); } }