Factory function to get the appropriate processor for a file extension
File path or extension (e.g., '.dot', '/path/to/file.obf')
Optional
The appropriate processor instance
Error if the file extension is not supported
const processor = getProcessor('/path/to/file.gridset');const tree = processor.loadIntoTree('/path/to/file.gridset'); Copy
const processor = getProcessor('/path/to/file.gridset');const tree = processor.loadIntoTree('/path/to/file.gridset');
Factory function to get the appropriate processor for a file extension