source: java/main/src/main/java/com/framsticks/communication/File.java @ 84

Last change on this file since 84 was 77, checked in by psniegowski, 11 years ago

Add new java codebase.

File size: 480 bytes
Line 
1package com.framsticks.communication;
2
3import com.framsticks.params.SourceInterface;
4
5/**
6 * @author Piotr Sniegowski
7 */
8public final class File {
9    protected final String path;
10    protected final SourceInterface content;
11
12    public File(String path, SourceInterface content) {
13        this.path = path;
14        this.content = content;
15    }
16
17    public String getPath() {
18        return path;
19    }
20
21    public SourceInterface getContent() {
22        return content;
23    }
24}
Note: See TracBrowser for help on using the repository browser.