com.caucho.vfs
Class GoogleStorePath

java.lang.Object
  extended by com.caucho.vfs.Path
      extended by com.caucho.vfs.FilesystemPath
          extended by com.caucho.vfs.GooglePath
              extended by com.caucho.vfs.GoogleStorePath
All Implemented Interfaces:
java.lang.Comparable<Path>

public class GoogleStorePath
extends GooglePath


Field Summary
 
Fields inherited from class com.caucho.vfs.GooglePath
_fileService, _inode, _inodeService, _parent, QUERCUS_ROOT_PATH
 
Fields inherited from class com.caucho.vfs.FilesystemPath
_bindRoot, _pathname, _root, _userPath
 
Fields inherited from class com.caucho.vfs.Path
_pathSeparatorChar, _schemeMap, _separatorChar, L
 
Constructor Summary
GoogleStorePath()
           
GoogleStorePath(FileService fileService, GoogleInodeService inodeService, java.lang.String bucket)
           
GoogleStorePath(java.lang.String bucket)
           
 
Method Summary
 Path copy()
           
 GooglePath createInstance(FilesystemPath root, java.lang.String userPath, java.lang.String path)
           
 AppEngineFile getAppEngineFile()
           
 java.lang.String getBucket()
           
 java.lang.String getNativePath()
          Returns the native representation of the path.
 StreamImpl openAppendImpl()
           
 StreamImpl openWriteImpl()
           
protected  boolean removeImpl()
           
 
Methods inherited from class com.caucho.vfs.GooglePath
canRead, canWrite, clearStatusCache, equals, exists, fsWalk, getFullPath, getLastModified, getLength, getMode, getParent, getScheme, getURL, hashCode, init, isDirectory, isExecutable, isFile, isPathCacheable, list, mkdir, mkdirs, openFileRandomAccess, openReadImpl, remove, renameTo, setLastModified, toString
 
Methods inherited from class com.caucho.vfs.FilesystemPath
bind, createRoot, getPath, getRoot, getTail, getUserPath, init, normalizePath, normalizePath, schemeWalk, setUserPath
 
Methods inherited from class com.caucho.vfs.Path
cacheCopy, canExecute, changeGroup, changeGroup, changeOwner, changeOwner, chmod, compareTo, createDepend, createLink, createNewFile, createRoot, createTempFile, escapeURL, getAttribute, getAttributeNames, getBlockCount, getBlockSize, getCache, getCertificates, getContentType, getCrc64, getCreateTime, getDevice, getDeviceId, getDiskSpaceFree, getDiskSpaceTotal, getFileSeparatorChar, getGroup, getHost, getInode, getLastAccessTime, getLastStatusChangeTime, getNewlineString, getNumberOfLinks, getObject, getOwner, getPathSeparatorChar, getPort, getQuery, getRelativePath, getResources, getResources, getSchemeMap, getSeparatorChar, getUser, getUserDir, getValue, isBlockDevice, isCharacterDevice, isFIFO, isHardLink, isLink, isObject, isSocket, isSymbolicLink, isWindows, isWindowsInsecure, iterator, lookup, lookup, lookup, lookupChild, lookupImpl, lookupNative, lookupNative, lookupRelativeNativePath, openAppend, openMemoryMappedFile, openRandomAccess, openRead, openReadWrite, openReadWrite, openReadWrite, openReadWriteImpl, openWrite, putCache, readLink, realPath, removeAll, renameTo, scanScheme, sendfile, setDefaultSchemeMap, setExecutable, setObject, setTestWindows, setValue, truncate, truncate, unbind, unwrap, writeToStream, writeToStream
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GoogleStorePath

public GoogleStorePath()

GoogleStorePath

public GoogleStorePath(java.lang.String bucket)

GoogleStorePath

public GoogleStorePath(FileService fileService,
                       GoogleInodeService inodeService,
                       java.lang.String bucket)
Method Detail

getBucket

public java.lang.String getBucket()

createInstance

public GooglePath createInstance(FilesystemPath root,
                                 java.lang.String userPath,
                                 java.lang.String path)
Specified by:
createInstance in class GooglePath

removeImpl

protected boolean removeImpl()
Specified by:
removeImpl in class GooglePath

getAppEngineFile

public AppEngineFile getAppEngineFile()

getNativePath

public java.lang.String getNativePath()
Description copied from class: Path
Returns the native representation of the path. On Windows, getNativePath() returns 'd:\\foo\bar.html', getPath() returns '/d:/foo/bar.html'

Overrides:
getNativePath in class Path

openWriteImpl

public StreamImpl openWriteImpl()
                         throws java.io.IOException
Overrides:
openWriteImpl in class Path
Throws:
java.io.IOException

openAppendImpl

public StreamImpl openAppendImpl()
                          throws java.io.IOException
Overrides:
openAppendImpl in class Path
Throws:
java.io.IOException

copy

public Path copy()
Overrides:
copy in class GooglePath