/trunk/main/qadevOOo/java/OOoRunner/src/main/java/helper/ |
H A D | StringHelper.java | 42 public static String removeSurroundQuoteIfExists(String _sPath) in removeSurroundQuoteIfExists() argument 44 String sNewPath = _sPath; in removeSurroundQuoteIfExists() 47 (_sPath.startsWith("\"") && _sPath.endsWith("\"")) || in removeSurroundQuoteIfExists() 48 (_sPath.startsWith("'") && _sPath.endsWith("'")) in removeSurroundQuoteIfExists() 60 public static String removeQuoteIfExists(String _sPath) in removeQuoteIfExists() argument 62 String sNewPath = _sPath; in removeQuoteIfExists() 64 if (_sPath.startsWith("\"") || in removeQuoteIfExists() 65 _sPath.startsWith("'")) in removeQuoteIfExists() 71 if (_sPath.endsWith("\"") || in removeQuoteIfExists() 72 _sPath.endsWith("'")) in removeQuoteIfExists()
|
/trunk/main/wizards/com/sun/star/wizards/common/ |
H A D | FileAccess.java | 98 if (_sPath.endsWith("/")) in deleteLastSlashfromUrl() 100 return _sPath.substring(0, _sPath.length() - 1); in deleteLastSlashfromUrl() 104 return _sPath; in deleteLastSlashfromUrl() 342 sPath = _sPath + "/" + aLocaleLang.toString(); in checkIfLanguagePathExists() 350 sPath = _sPath + "/en-US"; in checkIfLanguagePathExists() 356 sPath = _sPath + "/en"; in checkIfLanguagePathExists() 369 return _sPath; in checkIfLanguagePathExists() 440 bExists = xSimpleFileAccess.exists(_sPath); in isPathValid() 658 if (!_sPath.endsWith("/")) in addPath() 660 _sPath += "/"; in addPath() [all …]
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/convwatch/ |
H A D | FilenameHelper.java | 100 public FilenameHelper_impl(String _sPath, String _sName, String _sSuffix) in FilenameHelper_impl() argument 103 _sPath = utils.replaceAll13(_sPath, "\\\\", "/"); in FilenameHelper_impl() 105 String sPath = checkPath(_sPath); in FilenameHelper_impl() 213 String checkPath(String _sPath) in checkPath() argument 216 if (_sPath.endsWith("/") || _sPath.endsWith("\\")) in checkPath() 218 sPath = _sPath.substring(0, _sPath.length() - 1); in checkPath() 222 sPath = _sPath; in checkPath()
|
H A D | GraphicalTestArguments.java | 459 public static void checkIfMSWindowsConformPath(String _sPath) in checkIfMSWindowsConformPath() argument 461 if (_sPath != null && _sPath.length() > 1) in checkIfMSWindowsConformPath() 463 if (_sPath.charAt(1) == ':') in checkIfMSWindowsConformPath() 465 if (_sPath.charAt(2) != '\\') in checkIfMSWindowsConformPath() 467 …Writer.get().println("This is not a Microsoft Windows conform path: '" + _sPath + "' please fix."); in checkIfMSWindowsConformPath()
|
/trunk/main/wizards/com/sun/star/wizards/reportbuilder/layout/ |
H A D | DesignTemplate.java | 285 public static DesignTemplate create(XMultiServiceFactory _xMSF, String _sPath) in create() argument 290 a.load(_xMSF, _sPath); in create() 309 private void load(XMultiServiceFactory _xMSF, String _sPath) throws com.sun.star.uno.Exception in load() argument 312 m_sFilename = _sPath; in load() 317 aLoadProps[0] = Properties.createProperty(PropertyNames.URL, _sPath); in load()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/graphical/ |
H A D | EnhancedComplexTestCase.java | 218 …private void runThroughEveryReportInIndex(String _sPath, String _sBasename, ParameterHelper _aPara… in runThroughEveryReportInIndex() argument 220 String sIndexFile = FileHelper.appendPath(_sPath, "index.ini"); in runThroughEveryReportInIndex() 238 String sEntry = FileHelper.appendPath(_sPath, sPSorPDFName); in runThroughEveryReportInIndex() 287 String sEntry = FileHelper.appendPath(_sPath, sPSorPDFName); in runThroughEveryReportInIndex() 321 public void runThroughOneFileInIndex(String _sPath, String _sBasename, ParameterHelper _aParam) in runThroughOneFileInIndex() argument
|
H A D | FileHelper.java | 573 public static String appendPath(String _sPath, String _sRelativePathToAdd) in appendPath() argument 575 String sNewPath = _sPath; in appendPath() 577 if (_sPath.startsWith("file:")) in appendPath()
|
/trunk/main/test/java/test/src/main/java/org/openoffice/test/ |
H A D | FileHelper.java | 41 public static String appendPath(String _sPath, String _sRelativePathToAdd) in appendPath() argument 43 String sNewPath = _sPath; in appendPath() 45 if (_sPath.startsWith("file:")) in appendPath()
|
/trunk/main/vcl/qa/complex/memCheck/ |
H A D | FileHelper.java | 34 public static String appendPath(String _sPath, String _sRelativePathToAdd) in appendPath() argument 36 String sNewPath = _sPath; in appendPath() 38 if (_sPath.startsWith("file:")) in appendPath()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/org/openoffice/ |
H A D | Runner.java | 106 private static boolean checkPathVariable(String _sPath, String delim) in checkPathVariable() argument 108 String sPath = System.getProperty(_sPath); in checkPathVariable() 117 System.err.println("ERROR: OOoRunner detect cygwin path in '" + _sPath + "'"); in checkPathVariable()
|
/trunk/main/odk/examples/java/Inspector/ |
H A D | Introspector.java | 649 public static String addToPath(String _sPath, String _sSubPath){ in addToPath() argument 650 if (!_sPath.endsWith("/")){ in addToPath() 651 _sPath += "/"; in addToPath() 653 return _sPath + _sSubPath; in addToPath()
|
/trunk/main/dbaccess/source/ui/dlg/ |
H A D | dbwizsetup.cxx | 944 void ODbTypeWizDialogSetup::RegisterDataSourceByLocation(const ::rtl::OUString& _sPath) in RegisterDataSourceByLocation() argument 949 INetURLObject aURL( _sPath ); in RegisterDataSourceByLocation()
|