Codota Logo
SkeletonUtil.getCanonicalFileName
Code IndexAdd Codota to your IDE (free)

How to use
getCanonicalFileName
method
in
cn.springcloud.codegen.engine.util.SkeletonUtil

Best Java code snippets using cn.springcloud.codegen.engine.util.SkeletonUtil.getCanonicalFileName (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: SpringCloud/spring-cloud-codegen

public static String getCanonicalPath(String generatePath, String fileName, SkeletonProperties skeletonProperties) {
  return formatGeneratePath(generatePath) + getCanonicalFileName(fileName, skeletonProperties);
}
origin: SpringCloud/spring-cloud-codegen

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);
  }
}
cn.springcloud.codegen.engine.utilSkeletonUtilgetCanonicalFileName

Popular methods of SkeletonUtil

  • getBasePackagePath
  • formatGeneratePath
  • formatProjectName
  • getBaseDirectoryName
  • getCanonicalPath
  • getOutputPath
  • getTempGeneratePath

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • getExternalFilesDir (Context)
  • getSharedPreferences (Context)
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now