goog.gears
Namespacegoog.gears.BaseStore
ClassThis class implements the common store functionality … more
goog.gears.Database
ClassClass that for accessing a Gears database … more
goog.gears.HttpRequest
Namespacegoog.gears.LogStore
ClassImplements a store for goog.debug.Logger data. … more
goog.gears.LoggerClient
ClassSingleton class that overrides the goog.debug.Logger to send log commands to the main thread. … more
goog.gears.LoggerServer
ClassCreates an object that listens to incoming LOG commands and forwards them to a goog.debug.Logger … more
goog.gears.ManagedResourceStore
ClassCreates a ManagedResourceStore with the specified name and update. This follows the Closure event model so the COMPLETE event will fire both for SUCCESS and for ERROR. You can use {@code isSuccess} in UPDATE to see if the capture was successful or you can just listen to the different events. This supports PROGRESS events, which are fired any time {@code filesComplete} or {@code filesTotal} changes. If the Gears version is 0.3.6 or newer this will reflect the numbers returned by the underlying Gears MRS but for older Gears versions this will just be {@code 0} or {@code 1}. NOTE: This relies on at least the 0.2 version of gears (for timer). … more
goog.gears.ManagedResourceStoreEvent
ClassEvent used when a ManagedResourceStore update is complete … more
goog.gears.MultipartFormData
ClassCreates a new multipart form data builder. … more
goog.gears.StatusType
EnumThe possible status type's for Gears. … more
goog.gears.UrlCapture
ClassClass capture URLs to a ResourceStore on the LocalServer. … more
goog.gears.Worker
ClassThis is an absctraction of workers that can be used with Gears WorkerPool. … more
goog.gears.WorkerChannel
ClassCreates a message channel for the given Gears worker. … more
goog.gears.WorkerEvent
ClassEvent used when the worker recieves a message … more
goog.gears.WorkerPool
ClassThis class implements a wrapper around the Gears Worker Pool. … more
.getFactory()
Returns a new Gears factory object.
Object
}
.hasFactory()
Whether we can create a Gears factory object. This does not cache the result.
boolean
}
.makeSafeFileName(originalFileName)
Gears only allows file names up to 64 characters, so this function shortens file names to fit in this limit. #goog.string.hashCode is used to compress the name. This also removes invalid characters.
originalFileName
{string
}
string
}