expose getFormat() method