Lines Matching refs:sfa
322 def __init__( self, storageType, sfa, uriHelper, scriptContext ): argument
324 self.sfa = sfa
392 src = readTextFromStream( self.sfa.openFileRead( url ) )
431 lastRead = self.sfa.getDateTimeModified( url )
441 src = readTextFromStream( self.sfa.openFileRead( url ) )
494 ret = not self.provCtx.sfa.isReadOnly( self.uri )
522 code = readTextFromStream(self.provCtx.sfa.openFileRead(self.uri))
558 self.provCtx.sfa.move( self.uri, copyUrl )
559 out = self.provCtx.sfa.openFileWrite( self.uri )
562 self.provCtx.sfa.kill( copyUrl )
636 contents = self.provCtx.sfa.getFolderContents( self.rootUrl, True )
643 elif self.provCtx.sfa.isFolder( i ) and not i.endswith("/pythonpath"):
692 def isPyFileInPath( sfa, path ): argument
694 contents = sfa.getFolderContents( path, True )
696 if sfa.isFolder(i):
697 ret = isPyFileInPath(sfa,i)
706 def getPathesFromPackage( rootUrl, sfa ): argument
710 inputStream = sfa.openFileRead( fileUrl )
716 if not isPyFileInPath( sfa, i ):
799 def getPackageName2PathMap( sfa, storageType ): argument
815 pathes = getPathesFromPackage( j, sfa )
949 sfa = ctx.ServiceManager.createInstanceWithContext( ucbService, ctx )
950 if not sfa:
955 storageType, sfa, urlHelper, ScriptContext( uno.getComponentContext(), doc, inv ) )
957 mapPackageName2Path = getPackageName2PathMap( sfa, storageType )
1052 if isPyFileInPath( self.provCtx.sfa, uri ):