Class SqlPathInfo

java.lang.Object
fr.paris.lutece.utils.sql.SqlPathInfo

public class SqlPathInfo extends Object
Knows how to parse lutece SQL file paths. Holds useful information about the parsed file.
  • Constructor Details

    • SqlPathInfo

      public SqlPathInfo()
  • Method Details

    • isTheme

      public boolean isTheme()
    • setTheme

      public void setTheme(boolean isTheme)
    • isCreate

      public boolean isCreate()
    • getPlugin

      public String getPlugin()
    • getTheme

      public String getTheme()
    • getFullPluginName

      public String getFullPluginName()
    • getSrcVersion

      public PluginVersion getSrcVersion()
    • getDstVersion

      public PluginVersion getDstVersion()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • parse

      public static SqlPathInfo parse(String sqlFilePath)
      Creates a SqlPathInfo instance from a file path
      Parameters:
      sqlFilePath - path of the SQL file
      Returns:
      a new instance, or null, if the given path matches cannot be recognized