public class StarsConvertor extends Object
Constructor and Description |
---|
StarsConvertor() |
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
convertTsvToByteBuffer(String starsFileName)
Converts a Stars tsv file to a ByteBuffer with radius DEFAULT_RADIUS
|
static ByteBuffer |
convertTsvToByteBuffer(String starsFileName,
float radius)
Converts a Stars tsv file to a ByteBuffer
|
static void |
convertTsvToDat(String tsvFileName)
Convert star tsv text file to binary dat file
|
static void |
convertTsvToDat(String tsvFileName,
float radius)
Convert star tsv text file to binary dat file
|
static void |
convertTsvToDat(String tsvFileName,
String datFileName)
Convert star tsv text file to binary dat file
|
static void |
convertTsvToDat(String tsvFileName,
String datFileName,
float radius)
Convert star tsv text file to binary dat file
|
static void |
main(String[] args) |
public static ByteBuffer convertTsvToByteBuffer(String starsFileName)
starsFileName
- filename of tsv filepublic static ByteBuffer convertTsvToByteBuffer(String starsFileName, float radius)
starsFileName
- filename of tsv fileradius
- radius of the sphere on which to paint starspublic static void convertTsvToDat(String tsvFileName)
tsvFileName
- name of tsv text star filepublic static void convertTsvToDat(String tsvFileName, float radius)
tsvFileName
- name of tsv text star fileradius
- radius of star spherepublic static void convertTsvToDat(String tsvFileName, String datFileName)
tsvFileName
- name of tsv text star filedatFileName
- name of dat binary star filepublic static void convertTsvToDat(String tsvFileName, String datFileName, float radius)
tsvFileName
- name of tsv text star filedatFileName
- name of dat binary star fileradius
- radius of star spherepublic static void main(String[] args)