Package org.scalafmt.interfaces
Interface ScalafmtSessionFactory
-
public interface ScalafmtSessionFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScalafmtSessioncreateSession(java.nio.file.Path config)Create a ScalafmtSession to format a batch of files using fixed configuration.
-
-
-
Method Detail
-
createSession
ScalafmtSession createSession(java.nio.file.Path config)
Create a ScalafmtSession to format a batch of files using fixed configuration.- Parameters:
config- location of the configuration file- Returns:
- a new session instance
-
-