From 9e6a54bf4c1b1e9d16ba7e1557ef637bf8b959c4 Mon Sep 17 00:00:00 2001 From: up778892 Date: Fri, 27 Jan 2017 11:17:31 +0000 Subject: [PATCH] documentation file.java UP778892 --- src/objs/File.java | 45 +++++++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/src/objs/File.java b/src/objs/File.java index 4952b1a..cf0da67 100644 --- a/src/objs/File.java +++ b/src/objs/File.java @@ -1,22 +1,22 @@ -/* -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -*/ - +/* +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +*/ + package objs; public class File @@ -36,15 +36,18 @@ public File(String f, int s) fileName = f; status = s; } + // Sets the fileName F, Status S public String getFileName() { return fileName; } + + //Returns the fileName public void setFileName(String fileName) { this.fileName = fileName; } - + public int getStatus() { return status; } @@ -52,4 +55,6 @@ public int getStatus() { public void setStatus(int status) { this.status = status; } + + // Sets new value }