Skip to content

Instantly share code, notes, and snippets.

Avatar

Makoto Yamazaki zaki50

View GitHub Profile
@zaki50
zaki50 / RelativePath.java
Created Jun 16, 2012 — forked from sgk/RelativePath.java
Compute relative path from a directory to other file or directory.
View RelativePath.java
/*
* by Shigeru KANEMOTO at SWITCHSCIENCE.
*/
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
You can’t perform that action at this time.