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