You access inner classes with $
java.nio.channels.FileChannel$MapMode/READ_ONLY
Mind that if you are importing FileChannel
you should also import FileChannel$MapMode
.
You access inner classes with $
java.nio.channels.FileChannel$MapMode/READ_ONLY
Mind that if you are importing FileChannel
you should also import FileChannel$MapMode
.