com.caucho.vfs
Class GoogleBlobStorePath

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.GoogleBlobStorePath
All Implemented Interfaces:
java.lang.Comparable<Path>

public class GoogleBlobStorePath
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
GoogleBlobStorePath(FileService fileService, GoogleInodeService inodeService)
           
 
Method Summary
protected  GooglePath createInstance(FilesystemPath root, java.lang.String userPath, java.lang.String path)
           
 AppEngineFile getAppEngineFile()
           
 java.lang.String getNativePath()
          Returns the native representation of the path.
 StreamImpl openWriteImpl()
           
protected  boolean removeImpl()
           
 
Methods inherited from class com.caucho.vfs.GooglePath
canRead, canWrite, clearStatusCache, copy, 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, openAppendImpl, 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

GoogleBlobStorePath

public GoogleBlobStorePath(FileService fileService,
                           GoogleInodeService inodeService)
Method Detail

createInstance

protected 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