This repository has been archived by the owner on Jun 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3df13c6
Showing
5 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module type="JAVA_MODULE" version="4"> | ||
<component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | ||
</content> | ||
<orderEntry type="inheritedJdk" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
<orderEntry type="library" name="KotlinJavaRuntime" level="project" /> | ||
</component> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project version="4"> | ||
<component name="InspectionProjectProfileManager"> | ||
<profile version="1.0"> | ||
<option name="myName" value="Project Default" /> | ||
</profile> | ||
<version value="1.0" /> | ||
</component> | ||
<component name="Kotlin2JvmCompilerArguments"> | ||
<option name="jvmTarget" value="1.8" /> | ||
</component> | ||
<component name="ProjectModuleManager"> | ||
<modules> | ||
<module fileurl="file://$PROJECT_DIR$/FileSpliterator.iml" filepath="$PROJECT_DIR$/FileSpliterator.iml" /> | ||
</modules> | ||
</component> | ||
<component name="ProjectRootManager" version="2" languageLevel="JDK_10" default="true" project-jdk-name="10" project-jdk-type="JavaSDK"> | ||
<output url="file://$PROJECT_DIR$/out" /> | ||
</component> | ||
<component name="libraryTable"> | ||
<library name="KotlinJavaRuntime"> | ||
<CLASSES> | ||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib.jar!/" /> | ||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-reflect.jar!/" /> | ||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-test.jar!/" /> | ||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-jdk7.jar!/" /> | ||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-jdk8.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES> | ||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-sources.jar!/" /> | ||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-reflect-sources.jar!/" /> | ||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-test-sources.jar!/" /> | ||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-jdk7-sources.jar!/" /> | ||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-jdk8-sources.jar!/" /> | ||
</SOURCES> | ||
</library> | ||
</component> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project version="4"> | ||
<component name="ChangeListManager"> | ||
<list default="true" id="2e837d0e-f64d-441f-982b-ceea8ceb799a" name="Default Changelist" comment="" /> | ||
<option name="SHOW_DIALOG" value="false" /> | ||
<option name="HIGHLIGHT_CONFLICTS" value="true" /> | ||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> | ||
<option name="LAST_RESOLUTION" value="IGNORE" /> | ||
</component> | ||
<component name="FileTemplateManagerImpl"> | ||
<option name="RECENT_TEMPLATES"> | ||
<list> | ||
<option value="Class" /> | ||
<option value="Kotlin File" /> | ||
</list> | ||
</option> | ||
</component> | ||
<component name="ProjectId" id="1m8ZiByVnXffLATLAZZxiMGD7Be" /> | ||
<component name="ProjectViewState"> | ||
<option name="hideEmptyMiddlePackages" value="true" /> | ||
<option name="showLibraryContents" value="true" /> | ||
</component> | ||
<component name="PropertiesComponent"> | ||
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" /> | ||
</component> | ||
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" /> | ||
<component name="TaskManager"> | ||
<task active="true" id="Default" summary="Default task"> | ||
<changelist id="2e837d0e-f64d-441f-982b-ceea8ceb799a" name="Default Changelist" comment="" /> | ||
<created>1608877305551</created> | ||
<option name="number" value="Default" /> | ||
<option name="presentableId" value="Default" /> | ||
<updated>1608877305551</updated> | ||
</task> | ||
<servers /> | ||
</component> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package io.github.teddyxlandlee.nios.filesplit | ||
|
||
import kotlin.system.exitProcess | ||
|
||
fun main(args: Array<String>) { | ||
if (args.size < 2) { | ||
help() | ||
} | ||
} | ||
|
||
fun help() { | ||
println("Usage: java -jar file-spliterator-${version}.jar <encode|decode> <filename> [args]\n" + | ||
"encode: arg: filename\n" + | ||
"decoee: arg: directory name\n" + | ||
"more args:\n [max_one_file_size] default 99.4MB\n" + | ||
"[directory name] default filesplit-<origin_filename>"); | ||
exitProcess(1); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package io.github.teddyxlandlee.nios.filesplit | ||
|
||
const val major: Byte = 0 | ||
const val minor: Byte = 1 | ||
const val micro: Byte = 0 | ||
const val version: String = "0.1.0" |