Module ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg body Expr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Num body Assign TupleStore NameStore NameStore NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Raise NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Num body Assign TupleStore NameStore NameStore NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Raise NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Raise NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad While BoolOpAnd CompareGt NameLoad Num CompareLt BinOpAdd NameLoad Num Call NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list
N/A muntjac.service.file_type_resolver FileTypeResolver muntjac.terminal.application_resource IApplicationResource muntjac.terminal.download_stream DownloadStream ClassResource N/A IApplicationResource N/A N/A C{ClassResource} is a named resource accessed with the
    class loader.

    This can be used to access resources such as icons, files, etc.

    @author: Vaadin Ltd.
    @author: Richard Lincoln
    @version: @VERSION@
     __init__ N/A N/A self N/A args N/A N/A Creates a new application resource instance. The resource id is
        relative to the location of the application class.

        @param args: tuple of the form
            - (resourceName, application)
              1. the Unique identifier of the resource within the application
              2. the application this resource will be added to
            - (associatedClass, resourceName, application)
              1. the class of the which the resource is associated.
              2. the Unique identifier of the resource within the application
              3. the application this resource will be added to
         N/A N/A self _bufferSize 0 N/A N/A self _cacheTime N/A self DEFAULT_CACHETIME N/A N/A self _associatedClass None N/A N/A self _resourceName None N/A N/A self _application None N/A nargs N/A len args N/A N/A nargs 2 N/A N/A N/A resourceName application args N/A N/A self _associatedClass N/A application __class__ N/A N/A self _resourceName resourceName N/A N/A self _application application N/A N/A resourceName None N/A N/A ValueError N/A N/A N/A application addResource self N/A N/A N/A nargs 3 N/A N/A N/A associatedClass resourceName application args N/A N/A self _associatedClass associatedClass N/A N/A self _resourceName resourceName N/A N/A self _application application N/A N/A N/A resourceName None N/A associatedClass None N/A N/A ValueError N/A N/A N/A application addResource self N/A N/A ValueError invalid number of arguments N/A getMIMEType N/A N/A self N/A N/A N/A Gets the MIME type of this resource.

        @see: L{muntjac.terminal.resource.IResource.getMIMEType}
         N/A N/A N/A FileTypeResolver getMIMEType N/A self _resourceName N/A getApplication N/A N/A self N/A N/A N/A Gets the application of this resource.

        @see: L{IApplicationResource.getApplication}
         N/A N/A self _application N/A getFilename N/A N/A self N/A N/A N/A Gets the virtual filename for this resource.

        @return: the file name associated to this resource.
        @see: L{IApplicationResource.getFilename}
         N/A index 0 N/A idx N/A N/A N/A self _resourceName find / index N/A N/A N/A idx 0 N/A N/A idx 1 N/A len N/A self _resourceName N/A N/A index N/A idx 1 N/A idx N/A N/A N/A self _resourceName find / index N/A N/A N/A self _resourceName N/A index N/A getStream N/A N/A self N/A N/A N/A Gets resource as stream.

        @see: L{IApplicationResource.getStream}
         N/A ds N/A DownloadStream N/A N/A N/A self _associatedClass getResourceAsStream N/A self _resourceName N/A N/A self getMIMEType N/A N/A self getFilename N/A N/A N/A ds setBufferSize N/A N/A self getBufferSize N/A N/A N/A ds setCacheTime N/A self _cacheTime N/A ds N/A getBufferSize N/A N/A self N/A N/A N/A N/A self _bufferSize N/A setBufferSize N/A N/A self bufferSize N/A N/A N/A Sets the size of the download buffer used for this resource.

        @param bufferSize:
                   the size of the buffer in bytes.
         N/A N/A self _bufferSize bufferSize N/A getCacheTime N/A N/A self N/A N/A N/A N/A self _cacheTime N/A setCacheTime N/A N/A self cacheTime N/A N/A N/A Sets the length of cache expiration time.

        This gives the adapter the possibility cache streams sent to the
        client. The caching may be made in adapter or at the client if the
        client supports caching. Zero or negative value disables the caching
        of this stream.

        @param cacheTime:
                   the cache time in milliseconds.
         N/A N/A self _cacheTime cacheTime N/A N/A