jetbrains.buildServer.util.fileLookup
Class MemorizingFileLookup

java.lang.Object
  extended by jetbrains.buildServer.util.fileLookup.MemorizingLookup<FileInfo,java.io.File,java.io.File>
      extended by jetbrains.buildServer.util.fileLookup.MemorizingFileLookup

public class MemorizingFileLookup
extends MemorizingLookup<FileInfo,java.io.File,java.io.File>

User: Victory.Bedrosova Date: 10/20/11 Time: 7:06 PM


Constructor Summary
MemorizingFileLookup(java.io.File baseFolder)
           
 
Method Summary
 FileInfo createFileInfo(java.io.File file)
           
 FileInfo createFileInfo(java.io.File parentFile, java.util.Collection<java.lang.String> possibleFileNames)
           
 FileInfo createFileInfo(java.io.File parentFile, java.lang.String fileName)
           
 FileInfo createFileInfo(java.lang.String filePath)
           
protected  java.io.File lookupInside(java.io.File subdir, FileInfo fileInfo)
           
 
Methods inherited from class jetbrains.buildServer.util.fileLookup.MemorizingLookup
lookup, lookupExhaustive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemorizingFileLookup

public MemorizingFileLookup(@NotNull
                            java.io.File baseFolder)
Method Detail

lookupInside

@Nullable
protected java.io.File lookupInside(@NotNull
                                             java.io.File subdir,
                                             @NotNull
                                             FileInfo fileInfo)
Specified by:
lookupInside in class MemorizingLookup<FileInfo,java.io.File,java.io.File>

createFileInfo

@NotNull
public FileInfo createFileInfo(@NotNull
                                       java.lang.String filePath)

createFileInfo

@NotNull
public FileInfo createFileInfo(@NotNull
                                       java.io.File file)

createFileInfo

@NotNull
public FileInfo createFileInfo(@Nullable
                                       java.io.File parentFile,
                                       @NotNull
                                       java.lang.String fileName)

createFileInfo

@NotNull
public FileInfo createFileInfo(@Nullable
                                       java.io.File parentFile,
                                       @NotNull
                                       java.util.Collection<java.lang.String> possibleFileNames)