Once Checkstyle integration is enabled, you should be able to
follow:
Window -> Preferences -> Checkstyle
Then click on
"New..." to import this file.
Eclipse has the ability to automatically format Java code according to
a particular style. You should be able to import the CS159 style file by following
Window -> Preferences -> Java -> Code Style -> Formatter
and clicking on "Import..."