예제 #1
0
 def isSupportedFile(self, arg):
     return fileutil.getFiletype(arg) in [cl.ext for cl in self.optimizers]
예제 #2
0
 def __init__(self, filename):
     self.filename = filename
     self.filetype = fileutil.getFiletype(filename)
     self.filesize = fileutil.getFilesize(filename)
예제 #3
0
 def isSupportedFile(self, arg):
     return fileutil.getFiletype(arg) in [cl.ext for cl in self.optimizers]