/aoo42x/main/l10ntools/source/filter/utils/ |
H A D | FileHelper.java | 44 public class FileHelper class 143 java.lang.String sFileURL = FileHelper.getFileURLFromSystemPath(aSystemPath); in getURLWithProtocolFromSystemPath() 144 java.lang.String sBaseURL = FileHelper.getFileURLFromSystemPath(aBasePath ); in getURLWithProtocolFromSystemPath() 311 FileHelper.makeDirectoryEmpty(lChilds[f], bFilesOnly); in makeDirectoryEmpty() 399 FileHelper.readAndCheckUTF8File(aFile,sBuffer); in readEncodedBufferFromFile() 550 nUTF8 = FileHelper.impl_convertBytesToChar(0,0,nByte_1, nByte_2); in readAndCheckUTF8File() 566 nUTF8 = FileHelper.impl_convertBytesToChar(0,0,nByte_2, nByte_3); in readAndCheckUTF8File() 586 nUTF8 = FileHelper.impl_convertBytesToChar(0,nByte_1, nByte_2, nByte_3); in readAndCheckUTF8File() 602 nUTF8 = FileHelper.impl_convertBytesToChar(0,0, nByte_2, nByte_3); in readAndCheckUTF8File() 706 java.io.File aDump = FileHelper.createUniqueFile(aDir, sDump, "dump"); in readAndCheckUTF8File() [all …]
|
/aoo42x/main/qadevOOo/runner/convwatch/ |
H A D | ConvWatch.java | 28 import convwatch.FileHelper; 71 if (! FileHelper.exists(_sAbsoluteInputFile)) in createPostscriptStartCheck() 95 if (FileHelper.exists(sAbsoluteReferenceFileInfo)) in createPostscriptStartCheck() 117 if (! FileHelper.exists(_sAbsoluteReferenceFile)) in createPostscriptStartCheck() 130 FileHelper.makeDirectories("", _sOutputPath); in createPostscriptStartCheck() 163 if (! FileHelper.exists(sAbsolutePrintFile)) in createPostscriptStartCheck() 173 FileHelper.copy(sDestinationFile, sSourceFile); in createPostscriptStartCheck() 175 if (! FileHelper.exists(_sAbsoluteReferenceFile)) in createPostscriptStartCheck() 182 String sInputPath = FileHelper.getPath(_sAbsoluteInputFile); in createPostscriptStartCheck() 230 String sNameNoSuffix = FileHelper.getNameNoSuffix(sBasename); in createINIStatus() [all …]
|
H A D | HTMLOutputter.java | 44 FileHelper.makeDirectories("", _sOutputPath); in create() 288 …String sLink = getHREF(FileHelper.getBasename(_aStatus.m_sOldGfx), FileHelper.getBasename(_aStatus… in checkLine() 291 …sLink = getHREF(FileHelper.getBasename(_aStatus.m_sNewGfx), FileHelper.getBasename(_aStatus.m_sNew… in checkLine() 294 …sLink = getHREF(FileHelper.getBasename(_aStatus.m_sDiffGfx), FileHelper.getBasename(_aStatus.m_sDi… in checkLine() 312 …sLink = getHREF(FileHelper.getBasename(_aStatus.m_sDiff_BM_Gfx), FileHelper.getBasename(_aStatus.m… in checkLine() 377 String sBasename = FileHelper.getBasename(m_sFilename); in checkDiffDiffLine() 384 …sLink = getHREF(FileHelper.getBasename(_aStatus.m_sNewGfx), FileHelper.getBasename(_aStatus.m_sNew… in checkDiffDiffLine() 387 …sLink = getHREF(FileHelper.getBasename(_aStatus.m_sDiffGfx), FileHelper.getBasename(_aStatus.m_sDi… in checkDiffDiffLine()
|
H A D | OfficePrint.java | 423 sFilename = FileHelper.getSystemPathFromFileURL(_sFile); in createInfoFile() 430 String sFileDir = FileHelper.getPath(sFilename); in createInfoFile() 431 String sBasename = FileHelper.getBasename(sFilename); in createInfoFile() 432 String sNameNoSuffix = FileHelper.getNameNoSuffix(sBasename); in createInfoFile() 500 String sExtension = FileHelper.getSuffix(_aGTA.getInputFile()); in createInfoFile() 746 if (! FileHelper.exists(_sAbsoluteInputFile)) in isReferenceExists() 766 String sInputPath = FileHelper.getPath(_sAbsoluteInputFile); in isReferenceExists() 803 if (! FileHelper.exists(_sAbsoluteInputFile)) in buildReference() 818 FileHelper.makeDirectories("", sOutputPath); in buildReference() 822 String sInputPath = FileHelper.getPath(_sAbsoluteInputFile); in buildReference() [all …]
|
H A D | PRNCompare.java | 224 FileHelper.makeDirectories("", _sOutputPath); in createJPEGFromPostscript() 268 if (FileHelper.exists(sNewJPEGFilename)) in createJPEGFromPostscript() 297 String sS1Basename = FileHelper.getBasename(_sSourceFile1); in createDiffs() 298 String sS2Basename = FileHelper.getBasename(_sSourceFile2); in createDiffs() 472 String sBasename1 = FileHelper.getBasename(sOldGfx); in createDiffs() 537 String sBasename1 = FileHelper.getBasename(_sOldGfx); in compareJPEGs() 538 String sNameNoSuffix1 = FileHelper.getNameNoSuffix(sBasename1); in compareJPEGs() 539 String sBasename2 = FileHelper.getBasename(_sNewGfx); in compareJPEGs() 540 String sNameNoSuffix2 = FileHelper.getNameNoSuffix(sBasename2); in compareJPEGs() 580 if (FileHelper.exists(_sDiffGfx)) in compareJPEGs() [all …]
|
H A D | FilenameHelper.java | 34 import convwatch.FileHelper; 84 _sFilename = FileHelper.getSystemPathFromFileURL(_sFilename); in setCompleteFilename() 88 String sPath = checkPath(FileHelper.getPath(_sFilename)); in setCompleteFilename() 89 String sFilenameWithSuffix = checkFilename(FileHelper.getBasename(_sFilename)); in setCompleteFilename() 93 m_sFilename = FileHelper.getNameNoSuffix(sFilenameWithSuffix); in setCompleteFilename() 184 return FileHelper.isDir(getSystemPath()); in isDirectory() 192 return FileHelper.exists(createAbsoluteFilename()); in exists() 257 String sSuffix = FileHelper.getSuffix(_sName); in splitSuffix()
|
H A D | GraphicalDifferenceCheck.java | 29 import convwatch.FileHelper; 44 if (FileHelper.isDebugEnabled()) in showVersion() 91 …Object[] aList = DirectoryHelper.traverse(_sInputPath, FileHelper.getFileFilter(), _aGTA.includeSu… in createReferences() 95 …String sNewReferencePath = _sReferencePath + fs + FileHelper.removeFirstDirectorysAndBasenameFrom(… in createReferences() 182 …Object[] aList = DirectoryHelper.traverse(_sInputPath, FileHelper.getFileFilter(), _aGTA.includeSu… in check() 188 … String sNewSubDir = FileHelper.removeFirstDirectorysAndBasenameFrom(sEntry, _sInputPath); in check() 281 sInputFile = FileHelper.getSystemPathFromFileURL(sInputFile); in checkOneFile()
|
H A D | MSOfficePrint.java | 26 import convwatch.FileHelper; 98 String sDocumentSuffix = FileHelper.getSuffix(_sFile); in isMSOfficeDocumentFormat() 111 String sDocumentSuffix = FileHelper.getSuffix(_sInputFile); in storeToFileWithMSOffice() 170 String sDocumentSuffix = FileHelper.getSuffix(_sInputFile); in printToFileWithMSOffice() 401 if (FileHelper.isDebugEnabled()) in searchLocalFile() 408 if (FileHelper.isDebugEnabled()) in searchLocalFile() 440 if (FileHelper.isDebugEnabled()) in createWordStoreHelper() 521 if (FileHelper.isDebugEnabled()) in createExcelPrintHelper() 619 if (FileHelper.isDebugEnabled()) in createExcelStoreHelper() 709 if (FileHelper.isDebugEnabled()) in createPowerPointPrintHelper()
|
H A D | GfxCompare.java | 102 _sFile = FileHelper.getSystemPathFromFileURL(_sFile); in createJPEG() 118 String sFileDir = FileHelper.getPath(_sFile); in createJPEG() 119 String sBasename = FileHelper.getBasename(_sFile); in createJPEG() 120 String sNameNoSuffix = FileHelper.getNameNoSuffix(sBasename); in createJPEG()
|
H A D | DocumentConverter.java | 171 FileFilter aFileFilter = FileHelper.getFileFilter(); in convert() 178 …String sNewReferencePath = m_sReferencePath + fs + FileHelper.removeFirstDirectorysAndBasenameFrom… in convert() 225 String sInputFileBasename = FileHelper.getBasename(_sInputFile); in runGDC() 227 FileHelper.makeDirectories("", _sReferencePath); in runGDC()
|
H A D | FileHelper.java | 33 public class FileHelper class 35 public FileHelper() in FileHelper() method in FileHelper 246 String sBasename = FileHelper.getBasename(_sName); in removeFirstDirectorysAndBasenameFrom() 266 sSubDirs = FileHelper.getPath(_sName); in removeFirstDirectorysAndBasenameFrom()
|
H A D | ConvWatchStarter.java | 240 FileFilter aFileFilter = FileHelper.getFileFilter(); in compareGraphicalDiffs() 255 … String sNewSubDir = FileHelper.removeFirstDirectorysAndBasenameFrom(sEntry, m_sInputPath); in compareGraphicalDiffs() 388 String sBasename = FileHelper.getBasename(_sInputFile); in runGDCWithStatus() 389 String sFilenameNoSuffix = FileHelper.getNameNoSuffix(sBasename); in runGDCWithStatus()
|
/aoo42x/main/qadevOOo/runner/graphical/ |
H A D | JPEGComparator.java | 194 String sPath = FileHelper.getPath(_sDocumentName); in checkOneFile() 195 String sSectionName = FileHelper.getBasename(_sDocumentName); in checkOneFile() 205 String sIniFile = FileHelper.appendPath(sPath, "index.ini"); in checkOneFile() 218 String sJPEGPath = FileHelper.getPath(sJPEGFilename); in checkOneFile() 344 String sBasename = FileHelper.getBasename(_sDocumentName); in checkOnePicture() 407 String sSourcePath = FileHelper.getPath(_sDocumentName); in compareJPEG() 408 String sDestinationBasename = FileHelper.getBasename(_sResult); in compareJPEG() 409 String sDestinationPath = FileHelper.getPath(_sResult); in compareJPEG() 419 FileHelper.copy(sSource, sDestination); in compareJPEG() 431 if (nErr == 0 && FileHelper.exists(sDifference)) in compareJPEG() [all …]
|
H A D | EnhancedComplexTestCase.java | 54 sPath = FileHelper.getPath(_aParam.getInputPath()); in callEntry() 70 sNewOutputPath = FileHelper.appendPath(sNewOutputPath, sNewSubDir); in callEntry() 107 FileFilter aFileFilter = FileHelper.getFileFilter(); in foreachDocumentinInputPath() 152 FileFilter aFileFilter = FileHelper.getFileFilterPSorPDF(); in foreachPSorPDFinInputPath() 164 String sPath = FileHelper.getPath(_aParam.getInputPath()); in foreachPSorPDFinInputPath() 165 String sEntry = FileHelper.appendPath(sPath, sKey); in foreachPSorPDFinInputPath() 205 String sPath = FileHelper.getPath(sInputPath); in foreachPSorPDFinInputPath() 220 String sIndexFile = FileHelper.appendPath(_sPath, "index.ini"); in runThroughEveryReportInIndex() 345 FileFilter aFileFilter = FileHelper.getFileFilterJPEG(); in foreachJPEGcompareWithJPEG() 433 String sPath = FileHelper.getPath(sInputPath); in foreachResultCreateHTML() [all …]
|
H A D | JPEGCreator.java | 74 String sFileDir = FileHelper.getPath(_sDocumentName); in checkOneFile() 75 String sBasename = FileHelper.getBasename(_sDocumentName); in checkOneFile() 86 String sIndexFile = FileHelper.appendPath(_sResult, "index.ini"); in checkOneFile() 124 if (FileHelper.exists(sJPEGFilename)) in createSmallPictures() 191 sConvertEXE = FileHelper.appendPath(sConvertPath, sConvertEXE); in convertToWidth340() 242 _sFile = FileHelper.getSystemPathFromFileURL(_sFile); in createJPEG() 258 String sFileDir = FileHelper.getPath(_sFile); in createJPEG() 259 String sBasename = FileHelper.getBasename(_sFile); in createJPEG() 295 String sJPEGName = FileHelper.appendPath(_sOutputPath, sName); in getJPEGName() 312 FileHelper.makeDirectories("", _sOutputPath); in createJPEGsFromPostscript() [all …]
|
H A D | FileHelper.java | 38 public class FileHelper class 40 public FileHelper() in FileHelper() method in FileHelper 277 String sBasename = FileHelper.getBasename(_sName); in removeFirstDirectorysAndBasenameFrom() 297 sSubDirs = FileHelper.getPath(_sName); in removeFirstDirectorysAndBasenameFrom() 600 sFilename = FileHelper.getSystemPathFromFileURL(_sFile); in createInfoFile() 607 String sFileDir = FileHelper.getPath(sFilename); in createInfoFile() 608 String sBasename = FileHelper.getBasename(sFilename); in createInfoFile() 609 String sNameNoSuffix = FileHelper.getNameNoSuffix(sBasename); in createInfoFile() 611 String sIniFile = FileHelper.appendPath(sFileDir, sBasename + ".ini"); in createInfoFile() 717 sPath = FileHelper.getSystemPathFromFileURL(_sIndexFilename); in addBasenameToFile() [all …]
|
H A D | OpenOfficePostscriptCreator.java | 92 m_sBasename = FileHelper.getBasename(m_sDocumentName); in load() 99 String sDocumentName = FileHelper.appendPath(m_sOutputURL, m_sBasename); in storeAsPostscript() 107 String sBasename = FileHelper.getBasename(sPrintURL); in storeAsPostscript() 115 String sBasename = FileHelper.getBasename(sPDFURL); in storeAsPostscript() 415 FileHelper.createInfoFile(_sOutputURL, _aGTA, "as pdf"); in storeAsPDF() 522 String sOutputPath = FileHelper.getPath(sOutputFilename); in impl_printToFileWithOOo() 677 FileHelper.createInfoFile(_sPrintFileURL, _aGTA); in impl_printToFileWithOOo() 719 if (! FileHelper.exists(_sAbsoluteInputFile)) in isReferenceExists() 739 String sInputPath = FileHelper.getPath(_sAbsoluteInputFile); in isReferenceExists() 745 String sPrintFilename = FileHelper.getNameNoSuffix(sInputFileBasename); in isReferenceExists() [all …]
|
H A D | MSOfficePostscriptCreator.java | 104 String sBasename = FileHelper.getBasename(sDocumentName); in storeAsPostscript() 175 String sDocumentSuffix = FileHelper.getSuffix(_sFile); in isMSOfficeDocumentFormat() 188 String sDocumentSuffix = FileHelper.getSuffix(_sInputFile); in storeToFileWithMSOffice() 258 String sDocumentSuffix = FileHelper.getSuffix(_sInputFile); in printToFileWithMSOffice() 322 FileHelper.createInfoFile(_sPrintFilename, _aGTA, "msoffice"); in printToFileWithMSOffice() 489 if (FileHelper.isDebugEnabled()) in searchLocalFile() 496 if (FileHelper.isDebugEnabled()) in searchLocalFile() 527 if (FileHelper.isDebugEnabled()) in createWordStoreHelper() 607 if (FileHelper.isDebugEnabled()) in createExcelPrintHelper() 710 if (FileHelper.isDebugEnabled()) in createExcelStoreHelper() [all …]
|
H A D | BuildID.java | 82 String sOfficePath = FileHelper.getPath(_sOfficePath); in getBuildID() 105 sOfficePath = FileHelper.appendPath(_sOfficePath, "bootstrap.ini"); in getBuildIDFromBootstrap() 109 sOfficePath = FileHelper.appendPath(_sOfficePath, "bootstraprc"); in getBuildIDFromBootstrap() 130 sOfficePath = FileHelper.appendPath(_sOfficePath, "version.ini"); in getBuildIDFromVersion() 134 sOfficePath = FileHelper.appendPath(_sOfficePath, "versionrc"); in getBuildIDFromVersion()
|
H A D | OpenOfficeDatabaseReportExtractor.java | 200 String sFilename = FileHelper.getBasename(_sDocument); in load() 201 String sDestinationFile = FileHelper.appendPath(sOutputPath, sFilename); in load() 202 FileHelper.copy(_sDocument, sDestinationFile); in load() 205 … assure("There exists no file: " + sDestinationFile, FileHelper.exists(sDestinationFile)); in load() 451 … sOutputPath = FileHelper.appendPath(sOutputPath, DateHelper.getDateTimeForFilename()); in getOutputPath() 480 sOutputPath = FileHelper.appendPath(sOutputPath, sName); in storeComponent()
|
H A D | Office.java | 67 String sDocumentSuffix = FileHelper.getSuffix(m_sDocumentName); in load() 93 String sIniFile = FileHelper.appendPath(m_sResult, "index.ini"); in load() 95 … String sSection = FileHelper.getBasename(_sDocumentName); // name of the odb file in load() 111 … String sValue = FileHelper.getBasename(sDocumentName); // name of the corresponding report in load()
|
/aoo42x/main/qadevOOo/runner/util/compare/ |
H A D | GraphicalComparator.java | 28 import convwatch.FileHelper; 89 sNewSubDir = FileHelper.removeFirstDirectorysAndBasenameFrom(_sEntry, _sInputPath); in createSpecialFile() 91 String sNameNoSuffix = FileHelper.getNameNoSuffix(FileHelper.getBasename(_sEntry)); in createSpecialFile() 116 if (FileHelper.isDir(sInputPath)) in isReferenceOrDiffExistent() 118 …Object[] aList = DirectoryHelper.traverse(sInputPath, FileHelper.getFileFilter(), m_aArguments.inc… in isReferenceOrDiffExistent() 125 if (FileHelper.exists(sNewReferencePath)) in isReferenceOrDiffExistent() 135 if (FileHelper.exists(sNewReferencePath)) in isReferenceOrDiffExistent() 192 if (FileHelper.isDebugEnabled()) in compare() 203 if (FileHelper.isDebugEnabled()) in compare()
|
/aoo42x/main/vcl/qa/complex/memCheck/ |
H A D | CheckMemoryUsage.java | 90 final String sTempDir = FileHelper.getJavaCompatibleFilename(m_sTempDir); in getTempDir() 194 File f = new File(FileHelper.getJavaCompatibleFilename(sDocumentPath)); in before() 287 aChecker.setDocumentName(FileHelper.getBasename(sDocument)); in loadAndSaveDocuments() 339 final String sDocumentName = FileHelper.getBasename(_sDocument) + "_" + j + ".pdf"; in loadAndSaveNTimesDocument() 340 … final String sFilename = FileHelper.appendPath(m_aTempDir.getOfficeTempDir(), sDocumentName); in loadAndSaveNTimesDocument() 450 String sProcessIdCommand = FileHelper.appendPath(m_aTempDir.getTempDir(), "getPS"); in getOfficeProcessID() 453 …final String sProcessId = sPSGrep.replaceAll("<soffice>", FileHelper.getJavaCompatibleFilename(sof… in getOfficeProcessID() 479 sOfficeMemoryCommand = FileHelper.appendPath(m_aTempDir.getTempDir(), "getPmap"); in getOfficeMemoryUsage() 482 …String sPmapOutputFile = FileHelper.appendPath(m_aTempDir.getTempDir(), "pmap_" + _sMode + ".txt"); in getOfficeMemoryUsage() 517 String sFilename = FileHelper.getJavaCompatibleFilename(fileName); in createExecutableFile()
|
/aoo42x/main/testgraphical/qa/graphical/ |
H A D | Test.java | 31 import graphical.FileHelper; 64 final String sComparePath = FileHelper.appendPath(sPRJ, "source"); in test() 65 final String sCompareName = FileHelper.appendPath(sComparePath, "compare.pl"); in test()
|
/aoo42x/main/dbaccess/qa/complex/dbaccess/ |
H A D | FileHelper.java | 26 public class FileHelper class 28 private FileHelper(){} in FileHelper() method in FileHelper
|